On January 21th at 14:15 UTC , progression through exercises will be unavailable for 10 minutes due to a planned maintenance break.
Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Function COUNT
Function AVG
Functions SUM, MAX, MIN


That's right! The keyword DISTINCT can, of course, be used in queries that apply GROUP BY. Take a look:

  COUNT(DISTINCT translator_id)
FROM project
GROUP BY client_id;

The above query will show each client together with the number of translators who have ever worked on at least one project for that client.


Let's check the statistics the other way round. For each translator in table project, show their ID (as translator_id) and the number of clients they have worked for. Name the second column clients_no.