guys im using the laravel framework version 3 , i wanna to get the most 10 active users (who uploaded huge number of pictures) . my tables structres : Users :
id,username ..
Images :
id,user_id,views..
then i want to show the total of views of their pictures exmaple : views of the pic 1 is : 150 views of the pic 2 is : 100 so the total of that users will be 250 and so on . can anyone help plz?