Driving Me Crazy (MYQL Help Please)
I have a table (links_favorites) with two columns (linkid and userid).
I want to write something that counts the number of matches (in linkid) between two different userids.
So it something that grabs all the linkids from userid A - and then all the linkids from userid B - and then counts all the places where this intersects.
However, I simply can't figure out the best/easiest way to do this.
Could someone help please?
|