Transcript text: In a gradebook table, students who did not take Test1 have a null value in the Test1 column. When you calculate the class average for Test1, you want to replace those null values with 0 so that the null values will be included in the calculation.
Which of these statements will convert those null values to 0 and find the average?
a)
AVG(Coalesce(Test1, 0))
FROM gradebooks
b)
SELECT AVG(COALESCE(Test1, 0))
FROM gradebook;
c)
SELECT Coalesce(Test1, 0))
FROM gradebook;
d)
SELECT AVG(Test1, 0)
FROM gradebook;