Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using the BOOKSTORE database, which is the simplest and most efficient query that will correctly find publishers that have published more than two authors (
Using the BOOKSTORE database, which is the simplest and most efficient query that will correctly find publishers that have published more than two authors from least to most
Group of answer choices SELECT publisherpublisherName, count as authorCount
FROM author
INNER JOIN wrote ON author.authorID wrote.authorID
INNER JOIN book ON wrote. ISBN book. ISBN
INNER JOIN publisher ON bookpublisherCode publisher publisherCode
GROUP BY publisherpublisherName
HAVING countauthor authorID
ORDER BY authorCount ASC;
SELECT bookpublisherName, count as authorCount
FROM author
INNER JOIN wrote ON author.authorID wrote.authorID
INNER JOIN book ON wrote.ISBN book.ISBN
GROUP BY bookpublisherName
HAVING countauthorauthorID;
SELECT publisherpublisherName
FROM author
INNER JOIN wrote ON author.authorID wrote.authorID
INNER JOIN book ON wrote. ISBN book. ISBN
INNER JOIN publisher ON bookpublisherCode publisherpublisherCode
GROUP BY publisherpublisherNameHAVING authorauthorID
ORDER BY authorCount DESC;
SELECT publisher.publisherName, count as authorCount
FROM wrote
INNER JOIN book ON wrote. ISBN book. ISBN
INNER JOIN publisher ON bookpublisherCode publisherpublisherCode
GROUP BY publisherpublisherName
HAVING countwroteauthorID
ORDER BY authorCount ASC;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started