Question: Based on this diagram and tables within, what sql code would answer these questions. Would like code that would run in sql 1 . How
Based on this diagram and tables within, what sql code would answer these questions. Would like code that would run in sql
How many subscribers do I have of each Plan type?
What is the average number of points for our SQLPlus subscribers from Texas? there is info in tables so some kind of WHERE with "texas" would exceptable
Example problem:
Give me a table that includes the book information with the books title, author name, genre, and publisher?
Code would be:
SELECT author.firstName, author.lastName countbookauthorid
FROM author
INNER JOIN book on book.authorid author.authorid
GROUP BY author.authorid
ORDER BY countbookauthorid desc;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
