programming-examples/sql/AggregateFunctions/Write a SQL statement that counts the number of different non NULL city values for salesmen.sql

5 lines
161 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*Write a SQL statement that counts the number of different non NULL city values for salesmen.*/
SELECT COUNT(*)
FROM salesman
WHERE city IS NOT NULL;