Question: The following questions will help you to practice writing SQL statements. The questions are based on the sakila database schema on MySQL Workbench. 1. Write

The following questions will help you to practice writing SQL statements. The questions are based on the "sakila" database schema on MySQL Workbench.

1. Write the sql statement that will provide you a list of all actors names sorted by last name, then by first name. (Without using the wildcard (*) for the fields.)

2. Write the sql statement that will provide you a list of all films rated R and include the record count. (Without using the wildcard (*) for the fields.)

3. Write the sql statement that will provide you a list of all films that are category Action and include the record count. (Without using the wildcard (*) for the fields.)

4. Write the sql statement that will provide you a list of all films that have the string SIDE in their name and include the record count. (Without using the wildcard (*) for the fields.)

5. Write the sql statement that will provide you with just the count of films under 90 minutes and include the record count and the film count. (Without using the wildcard (*) for the fields.)

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 Databases Questions!