in Databases
309 views
0 votes
0 votes

Please  explain the solution  Ans iis given - C

in Databases
309 views

3 Comments

some part is missing ?
0
0
answer will depend on database instance....say in 2nd case if i put NULL at such a places where RATING are high ...OPTION C can never be correct one ....such question need an instance of DB ...i think so ......
0
0
I think ans is B because they said COUNT not COUNT(*) , as except COUNT(*) all other aggregate function ignore NULL values therefore when sum is divided by count it is equal to avg.

Please correct me if my logic is wrong.
0
0

Please log in or register to answer this question.