Dec 22, 2020
5
Level 1
Get the latest reviewed games
¡Hi, folks! ¿How are you?
I'm having some trouble trying to figure out how to get the latest reviewed games.
I'll give you a bit of context. I have two tables:
- Games
- Reviews
So:
Reviews belongs to Game and Game has many Reviews
I think that the logic of the query must be something like: Obtain the last review of each game and obtain its created_at date.
Then, use the date of the last review of each game to order the games.
But i can't transform that logic into a query :(
Level 11
Please or to participate in this conversation.