Help with SQL query (list strings and count in same query)
- by Mestika
Hi everybody,
I’m working on a small kind of log system to a webpage, and I’m having some difficulties with a query I want to do multiple things. I have tried to do some nested / subqueries but can’t seem to get it right.
I’ve two tables:
User = {userid: int, username}
Registered = {userid: int, favoriteid: int}
What I need is a query to…