You are not required to execute the queries. However, your syntax must by accurate.You must give at least a one sentence explanation of each query. I need questions 8 ,9 and 10 answered   Ebaird Video is startup company providing concierge DVD kiosk service in upscale neighborhoods. Ebaird Video can own several copies (VIDEO) of each movie (MOVIE).For example, a kiosk may have 10 copies of the movie Twist in the Wind. In the database, Twist in the Wind would be one Movie, and each copy would be a Video. A rental transaction (Rental) involves one or more videos being rented to a member (MEMBERSHIP). A video can be rented many times over its lifetime. Write the SQL code for the following instances.   Write a query to display the movie title, movie year, and movie cost for all movies that contain the word hope in the title. Sort the results in ascending order by title where the table name is Movies. Write a query to display the movie title, movie year, and movie category for all action movies where the table name is Movies Write a query to display the movie number, movie title, and movie cost for all movies that cost more than $40 where the table name is Movies Write a query to display the movie number, movie title, movie cost, and movie category for all action or comedy movies that cost less than $50. Sort the results in ascending order by movie category where the table name is Movies Write a query to display the movie categories and the number of movies with a category of the Action. The query must display an Alias column titled Action. The table name is Movies. Write a query to display the average cost of all the movies where the table name is Movies Write a query to display the movie category and average rental fee for movies in each category that have a price where the table name is Movies. Write a query to display the movie title, movie year, price description, and price rental fee for all movies that are in the categories of family and have a price greater than $10.00 where the table name is Movies. Write a query to display the movie title, movie year, price description, and price rental fee for all movies that are in the categories of family or have a price of $10.00, $15.00 or $20 where the table name is Movies in the easiest way possible. Hint: Do not use the OR operator. Write a query to display the movie title, movie year, price description, and price rental fee for all movies in all categories except for family where the table name is Movies. Write a query to display the minimum balance, maximum balance, and average balance for memberships that have a rental where the table name is Movies. Write a query to display the rental number, rental date, video number, movie title, due date, and return date for all videos that were returned after March 15, 2018. Sort the results by rental number and movie title. The table name is Movies. Write a query to display the rental number, rental date, movie title, and detail fee for each movie that was rented between the March 1, 2018 and March 31, 2018. The table name is Movies. Write a query that will increase all rental fees by 10%. The table name is Movies Write a query that will group identical movie categories together. The table name is Movies. Write a query that will show all attributes and field in the Movie table that do not contain a value. Write a query that will display all movies with a return date of March 1, 2018, March 5, 2018, March 15, 2018, March 17, 2018 or March 25, 2018. Note: Do not use the OR operator for this query.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

You are not required to execute the queries. However, your syntax must by accurate.You must give at least a one sentence explanation of each query.

I need questions 8 ,9 and 10 answered

 

Ebaird Video is startup company providing concierge DVD kiosk service in upscale neighborhoods. Ebaird Video can own several copies (VIDEO) of each movie (MOVIE).For example, a kiosk may have 10 copies of the movie Twist in the Wind. In the database, Twist in the Wind would be one Movie, and each copy would be a Video. A rental transaction (Rental) involves one or more videos being rented to a member (MEMBERSHIP). A video can be rented many times over its lifetime. Write the SQL code for the following instances.

 

  1. Write a query to display the movie title, movie year, and movie cost for all movies that contain the word hope in the title. Sort the results in ascending order by title where the table name is Movies.
  2. Write a query to display the movie title, movie year, and movie category for all action movies where the table name is Movies
  3. Write a query to display the movie number, movie title, and movie cost for all movies that cost more than $40 where the table name is Movies
  4. Write a query to display the movie number, movie title, movie cost, and movie category for all action or comedy movies that cost less than $50. Sort the results in ascending order by movie category where the table name is Movies
  5. Write a query to display the movie categories and the number of movies with a category of the Action. The query must display an Alias column titled Action. The table name is Movies.
  6. Write a query to display the average cost of all the movies where the table name is Movies
  7. Write a query to display the movie category and average rental fee for movies in each category that have a price where the table name is Movies.
  8. Write a query to display the movie title, movie year, price description, and price rental fee for all movies that are in the categories of family and have a price greater than $10.00 where the table name is Movies.
  9. Write a query to display the movie title, movie year, price description, and price rental fee for all movies that are in the categories of family or have a price of $10.00, $15.00 or $20 where the table name is Movies in the easiest way possible. Hint: Do not use the OR operator.
  10. Write a query to display the movie title, movie year, price description, and price rental fee for all movies in all categories except for family where the table name is Movies.
  11. Write a query to display the minimum balance, maximum balance, and average balance for memberships that have a rental where the table name is Movies.
  12. Write a query to display the rental number, rental date, video number, movie title, due date, and return date for all videos that were returned after March 15, 2018. Sort the results by rental number and movie title. The table name is Movies.
  13. Write a query to display the rental number, rental date, movie title, and detail fee for each movie that was rented between the March 1, 2018 and March 31, 2018. The table name is Movies.
  14. Write a query that will increase all rental fees by 10%. The table name is Movies
  15. Write a query that will group identical movie categories together. The table name is Movies.
  16. Write a query that will show all attributes and field in the Movie table that do not contain a value.
  17. Write a query that will display all movies with a return date of March 1, 2018, March 5, 2018, March 15, 2018, March 17, 2018 or March 25, 2018. Note: Do not use the OR operator for this query.
 

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
SQL Query
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education