I am working on a problem that involves a sub select query. I have the databases set up in order to get the select query to work, but I'm relatively new to these subqueries and am a little lost. I need return band name and album titles of said bands with more than 1 album. Here is my code so far.
SELECT b.Name, a.Title
FROM Band as b, Album as a
WHERE (SELECT *
FROM Album as al
WHERE al.BID = a.BID)
GROUP BY b.Name
HAVING Count(a.BID) > 1;
Any help will be greatly appreciated.