Hey, thanks for the reply. I am still having problems with this. I am pretty bad when it comes to database. This is what I have now; Not really sure if I am on the right track but it returns 54 rows.. so I know it's incorrect.
Code:
SELECT authors.au_id,authors.fname,authors.lname,titles.title_id
FROM authors left join author_titles ON authors.au_id = author_titles.au_id,titles
WHERE pub_id IN(
SELECT pub_id
Hey I am really bad at databases and I am having problems writing this query.
I have to write a subquery that lists the authors( au_id, fname and lname) and the title_Id for their books for authors that have books published by the publisher with the greatest sales. I have no idea how to do about doing this. I am horrible at sql queries. Please help. This is all I have :/
Leave a comment: