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. Show translator id together with number of distinct rates per word he used in his projects. Name the second column rates_no.
Stuck? Here's a hint!
To obtain the rate per word, use CAST(price AS numeric)/words.



