Hi, I'm working on a simple dating website with member profiles.
I need to do something really simple, but I'm too tired to do this..
There is a profile table, login table and a profile_view table:
profile_id, name, picture, etc..
session_id, username, time, etc..
view_id, profile_id, session_id
I want to display 15 most viewed profiles. What is the query I should use?