Instruction
As you may already suspect, COUNT(DISTINCT expression) can be also used together with GROUP BY. Try it out in the exercise below.
Exercise
The rate per word is the price divided by the number of words. For every translator, show ID together with number of distinct rates per word they used in their projects. Name the second column rates_no.
Stuck? Here's a hint!
To obtain the rate per word, use CAST(price AS numeric)/words.



