
Ultimate access to all questions.
You are working on a data cleansing project where you need to handle missing values in a dataset of customer transactions. The dataset is stored in Azure SQL Database and includes fields such as 'TransactionID', 'CustomerID', 'TransactionAmount', and 'TransactionDate'. Which SQL query would you use to identify and handle missing values, ensuring that the dataset remains consistent and accurate?
A
DELETE FROM Transactions WHERE TransactionAmount IS NULL;
B
UPDATE Transactions SET TransactionAmount = 0 WHERE TransactionAmount IS NULL;
C
SELECT * FROM Transactions WHERE TransactionAmount IS NOT NULL;*
D
SELECT ISNULL(TransactionAmount, 0) AS TransactionAmount FROM Transactions;