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 14 ,15 and 16 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 MoviesWrite 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 MoviesWrite 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 MoviesWrite 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 MoviesWrite 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 MoviesWrite 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.

Question
Asked Apr 13, 2019
37 views

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 14 ,15 and 16 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.
 

 

check_circle

Expert Answer

Step 1

Since the full table structure is not given we make suitable assumptions to write the query:

For question 14 the query would be:

Update movie set rental = rental * 1.10;

Step 2

Since the full table structure is not given we make suitable assumptions to write the query:

F...

Want to see the full answer?

See Solution

Check out a sample Q&A here.

Want to see this answer and more?

Solutions are written by subject experts who are available 24/7. Questions are typically answered within 1 hour.*

See Solution
*Response times may vary by subject and question.
Tagged in

Engineering

Computer Science

Related Computer Science Q&A

Find answers to questions asked by student like you
Show more Q&A
add
question_answer

Q: what strategies that would attract buyers to a company's e-commerce web site

A: Strategies to attract buyers to the company e-commerce website:Offer limited time specials to new cu...

question_answer

Q: Write a class named StockPrice. The class constructor should accept an array of stock prices as its ...

A: First of all ,you  need to create a class .The class name is StockPrice  in which you need to create...

question_answer

Q: Consider the Sort-and-Count algorithm explained in section 5.3 of our text: "Counting Inversions"Sup...

A: Given:Initial list:26   81   87   32   66   72   86   97   23   48   14   71   89   18   49   62Algo...

question_answer

Q: Write a program that coverts a zip code to a bar code. The bar codes use large and small bars. We wi...

A: Solution:#Define the functiondef checksum(zip):    #Declare the empty variable    sum = 0    #Loop e...

question_answer

Q: Using Math.max and/or Math.min, write a class MaxOrMin, and make sure touse Math.max and Math.min wh...

A: Java codeimport java.util.Scanner; public class MaxOrMin {public static void main(String[] args){Sca...

question_answer

Q: For this program you need to use Eclipse. Carefully read the instructions and write a program that r...

A: Program plan:Class name: EmpPayrollImport the required header files.Define the class "EmpPayroll"Def...

question_answer

Q: what is the best test strategy for any ERP system?

A: ERP stands for Enterprise resource planning is a software used for business process management. It a...

question_answer

Q: In Eclipse write a while loop which prints the even numbers from 20 to 30 (including 30).

A: Program Instructions:Create a class named PrintEven, and initialize a variable i to 20 in the main m...

question_answer

Q: Given that an array of int named a has been declared, and that the integer variable n contains the n...

A: Algorithm: Declare the variable “n”.Declare the array of integer elements named “a”.Assign “-1” to t...