Question: ## Tables 1 . Authors - stores information about authors | author _ id ( Primary Key ) | first _ name | last _

## Tables
1. Authors - stores information about authors
| author_id (Primary Key)| first_name | last_name | country | birth_date |
1. Books - stores information about books
| book_id (Primary Key)| title | ISBN | publication_date | publisher_id (Foreign Key)|
1. Publishers - stores information about publishers
| publisher_id (Primary Key)| name | country | website |
1. Book_Authors - stores the relationship between books and authors
| book_id (Foreign Key)| author_id (Foreign Key)|
## Questions
Develop six(6) questions and answer these questions.
Requirements:
- Question 1 should be a query with a composite condition from one table.
- Question 2 should be a query with a composite condition and two tables.
- Question 3 needs the GROUP BY clause and a aggregate function.
- Question 4 needs both WHERE clause and the HAVING clause.
- Question 5 needs to use a subquery and the EXISTS keyword.
- Question 6 needs two subqueries and the ALL keyword.
## Database and Query Results
Please generate some data and insert into a sqlite database. You need to run the six queries developed above and show the result. Make a screenshot of each result.

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!