Databases · Junior · Question 15 of 75

What is the difference between COUNT(*) and COUNT(phone)?

Explanation

Aggregate functions ignore NULLs, except COUNT(*). AVG(score) also averages only non-NULL values.

Further reading

Problem with a question

Databases · Junior · question 15

Test yourself

Take the Databases · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz