What is a result of the query below for table with 10 rows when there are 2 clients with the headcount column having a NULL value, there are 7 customers with 1 head and 1 customer with 2 heads?

SELECT SUM(headcount) FROM clients

/*

ClientId HeadCount
1 1
2 NULL
3 1
4 2
5 1
6 NULL
7 1
8 1
9 1
10 1

 

*/

Experience Level: Not defined
Tags: DatabasesSQL

Answer

Comments

No Comments Yet.
Be the first to tell us what you think.