Advertisement
Guest User

Untitled

a guest
Nov 20th, 2014
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $sql = $sql = 'select `scores`.`image`, sum(`scores`.`score`) as `total_score` from `scores`
  2.             group by `scores`.`fb_user_id`
  3.             having count(`scores`.`tour`) = 3
  4.             order by `total_score`
  5.             limit 10';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement