Database MCQ

1:

Count function in SQL returns the number of

A.

Values.

B.

Distinct values

C.

Groups.

D.

Columns.

 

Answer : A

Explanation :

Count function in SQL returns the number of values. (Count function counts all the not null values in the specific column. If we want to count only distinct values than the DISTINCT keyword is also to be used)

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.