Question: Consider the following tables:
Books
------
BookId
BookName
AuthorId
SubjectId
PopularityRating (the popularity of the book on a scale of 1 to 10)
Language (such as French, English, German etc)
Subjects
---------
SubjectId
Subject (such as History, Geography, Mathematics etc)
Authors
--------
AuthorId
AuthorName
Country
What is the query to determine which is the most popular book written in French?
Aselect bookname from books where language='French' and popularityrating = (select max(popularityrating) from books where language='French')
Bselect bookname from books where language='French' and popularityrating = (select max(popularityrating) from books Having language='French')
Cselect bookname,max(popularityrating) from books where language='French' and max(popularityrating)
Dselect bookname,max(popularityrating) from books where language='French' having max(popularityrating)
Note: Not available