subject

Using sakila database, answer the following questions with sql queries and/or subqueries:

1. display the title of the film with the largest number of actors.
2. using "having" to display which customer’s first names have appeared more than once?
3. query the top 5 customer’s names who spent the most on rental films. display customer id, name and the amount spent.
4. what’s the result of this query? and why? select * from film natural join inventory;
5. write an interesting query statement of your own, not shown in the questions. the query should include at least one natural join operator, having clause and aggregation operation. explain your query statement and the answer.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 17:00, laylay120
The most efficient way to establish top best possible economize position is to measure
Answers: 1
image
Computers and Technology, 23.06.2019 20:00, shadow6728g
How much current flows through the alternator brushes? a. 2–5 a b. 25–35 a, depending on the vehicle c. 5–10 a d. 10–15 a
Answers: 2
image
Computers and Technology, 24.06.2019 01:00, kayranicole1
What shows the web address of the page that is currently displayed in the workspace? status window toolbar location bar internet box
Answers: 1
image
Computers and Technology, 24.06.2019 14:30, heathersloan274
Which computer network component connects two different networks together and allows them to communicate? a is a node (or a device) that connects two different networks together and allows them to communicate.
Answers: 1