Find the user who has liked the most posts. Report the user’s id, name and email, and the id of the posts they have liked. If there is a tie, report them all.
User(uid, name, website, about, email, phone, photo) Likes(liker, pid, when) Likes[liker] is contained in User[uid]
I think I need a "function" NumberOfLikes or similar where I can do something like:
We aren’t allowed to use aggregate functions in this exercise. I assume the way to count in RA is by performing some sort of cross product black magic, but I don’t know how.