programming-examples/sql/AggregateFunctions/Write a SQL statement to find the number of salesmen currently listing for all of their customers.sql
2019-11-18 14:05:53 +01:00

3 lines
157 B
SQL

/*Write a SQL statement to find the number of salesmen currently listing for all of their customers.*/
SELECT COUNT (DISTINCT salesman_id)
FROM orders;