Best April deals - hours only!Up to 80% off on all courses and bundles.-Close
Function COUNT
Function AVG
Functions SUM, MAX, MIN


As you may already suspect, COUNT(DISTINCT expression) can be also used together with GROUP BY. Try it out in the exercise below.


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.