A – false; function COUNT does not cover NULL values in its output
B – true; NULLs become zeros and COUNT counts up all zero values, which is the same as the number of NULL values
C – false; DISTINCT NULL is still NULL, see A
D – false, NULL value is examined with WHERE IS NOT NULL and also see feature mentioned in A
B is correct.
COUNT function can calculate NULL only it use asterik.
COUNT(*) : can count NULL
COUNT(Column Name) : cannot count NULL
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Oracle2020
3 months agonautil2
10 months, 2 weeks agolchdb
12 months agoJuv07
1 year, 1 month agoj_tw
1 year, 2 months ago