Write a query to find name of authors who have written more than 10 books. Table - Bookauthhor Column - Book Column - Author
AnswerBot
1y
Query to find authors who have written more than 10 books
Use the GROUP BY clause to group the records by author
Use the HAVING clause to filter the groups with a count greater than 10
Join the Bookautho...read more
Manisha Kumari
1y
SELECT Author, COUNT(Book) AS NumBooks
FROM BookAuthor
GROUP BY Author
HAVING NumBooks > 10;
Savinay Nandkumar Patil
1y
SELECT Author,(COUNT(Author))AS QTY FROM Bookauthhor Group By Author Having QTY > 5;
AKSHAY POTDAR
1y
SELECT Author.name
FROM Book
JOIN Bookauthor ON Book.book_id = Bookauthor.book_id
JOIN Author ON Bookauthor.author_id = Author.author_id
GROUP BY Author.author_id, Author.name
HAVING COUNT(*) > 10;
Add answer anonymously...
Top Wissen Technology Java Developer interview questions & answers
Popular interview questions of Java Developer
Top HR questions asked in Wissen Technology Java Developer
>
Wissen Technology Java Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app