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
1.How many subscribers do I have of each Plan type?
2. 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 , count(book.author_id)
FROM author
INNER JOIN book on book.author_id = author.author_id
GROUP BY author.author_id
ORDER BY count(book.author_id) desc;
Based on this diagram and tables within, what sql

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!