[Solved] How to list all ratings received by user


Ok, some people here thinks is funny to downvote a post, well i’m posting the solution cause i know that it can be helpfull to.

This is the Query i built:

SELECT u.usuario, u.id_usuario, d.id, v.valoracion, v.fecha
FROM icar_valoraciones v
JOIN icar_dibujos d ON v.id_dibujo = d.id
JOIN icar_usuarios u ON v.id_quien = u.id_usuario WHERE d.id_quien = '{ID OF THE USER LOGGED IN}' GROUP BY v.id ORDER BY v.fecha DESC

You can find it here => http://sqlfiddle.com/#!9/b44fe/2

solved How to list all ratings received by user