Guest User

Untitled

a guest
Jun 19th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. "SELECT favorites.drink_id, count(*) as count FROM `favorites` INNER JOIN `favorizations` ON `favorizations`.`favorite_id` = `favorites`.`id` WHERE (favorites.id = favorizations.favorite_id) AND (favorizations.language_id = 37 ) GROUP BY favorizations.favorite_id HAVING count > 0 ORDER BY count DESC LIMIT 15
Add Comment
Please, Sign In to add comment