Answered step by step
Verified Expert Solution
Link Copied!

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 publisher-publisherName, 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 book-publisherCode = publisher publisherCode
GROUP BY publisher-publisherName
HAVING count(author. authorID)2
ORDER BY authorCount ASC;
SELECT book-publisherName, count(*) as authorCount
FROM author
INNER JOIN wrote ON author.authorID = wrote.authorID
INNER JOIN book ON wrote.ISBN = book.ISBN
GROUP BY book-publisherName
HAVING count(author.authorID)2;
SELECT publisher-publisherName
FROM author
INNER JOIN wrote ON author.authorID = wrote.authorID
INNER JOIN book ON wrote. ISBN = book. ISBN
INNER JOIN publisher ON book-publisherCode = publisher-publisherCode
GROUP BY publisher-publisherNameHAVING (author.authorID)2
ORDER BY authorCount DESC;
SELECT publisher.publisherName, count(*) as authorCount
FROM wrote
INNER JOIN book ON wrote. ISBN = book. ISBN
INNER JOIN publisher ON book-publisherCode = publisher-publisherCode
GROUP BY publisher-publisherName
HAVING count(wrote.authorID)2
ORDER BY authorCount ASC;

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Medical Image Databases

Authors: Stephen T.C. Wong

1st Edition

1461375398, 978-1461375395

More Books

Students also viewed these Databases questions

Question

5. Identify three characteristics of the dialectical approach.

Answered: 1 week ago

Question

6. Explain the strengths of a dialectical approach.

Answered: 1 week ago

Question

4. Explain the strengths and weaknesses of each approach.

Answered: 1 week ago