Skip to content
Advertisement

Group by in one table

I have list of users and a visits table . I want a list of users whose profile has been viewed :

I want number of views per user

Advertisement

Answer

You seem to want count(distinct):

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement