I am in a test and there is the next questions,
You are have 3 tables
First,
Users - Userid, Name, Email, Phone
Second,
Ads - Adid, Userid, name, title, body, url, creationdate
Third -
Analystions - Adid, Date, Impressions, Clicks, DailySpent,
Now, they ask me that -
Take all the ads that the user "123456" Created and order then by the last creation date and to the first.
Next - Take the AVG From CTR=Clicks/Impressions, from the ad "123456"
Thanks so much for who that helped,