Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write the SQL queries for the tables created in Part a and Part b . i . Write a query to list all the videos
Write the SQL queries for the tables created in Part a and Part b i Write a query to list all the videos where the cost of the video is between and ii Write a query to list the details of all customers last names that begin with the letters Kne iii. Write a query to list the customer id first name, last name, state and total number of videos borrowed by the customer. iv Write a query to list each customer first name, last name, the rented video name and due date. v Write a query to create a view BorrowDetails for the query used in previous question and also display the number of videos each customer has from the newly created view
Write the SQL queries for the tables created in Part a and Part b
i Write a query to list all the videos where the cost of the video is between and
ii Write a query to list the details of all customers last names that begin with the
letters Kne
iii. Write a query to list the customer id first name, last name, state and total number
of videos borrowed by the customer.
iv Write a query to list each customer first name, last name, the rented video name
and due date.
v Write a query to create a view BorrowDetails for the query used in previous
question and also display the number of videos each customer has from the newly
created view
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started