Answered step by step
Verified Expert Solution
Link Copied!

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 50 and 75.
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Focus On Geodatabases In ArcGIS Pro

Authors: David W. Allen

1st Edition

1589484452, 978-1589484450

More Books

Students also viewed these Databases questions

Question

What is Accounting?

Answered: 1 week ago

Question

Define organisation chart

Answered: 1 week ago

Question

What are the advantages of planning ?

Answered: 1 week ago