$ 0 0 Your user ids are unique. There's no need to group by user id because each user id can only have one row.