Reference no: EM133819462
LAB EXERCISE
Instruction:
In this lab exercise, you are required to continue working with the EliteVideo database introduced in Weeks 6-9.
In this lab exercise, you must provide solutions for 5 tasks listed below. Your submission should be in an MS Word document and include the following:
A cover page
Solutions for each of the 5 tasks. Each solution must include three parts:
SQL Statement: The query written in plain text.
Explanation: A brief explanation of how the SQL statement works (approximately 150 words).
Screenshot of Results: A screenshot showing the result of running the SQL statement on your computer.
Task 1: Construct a SQL statement that retrieves the titles of movies that have not been rented yet.
Task 2: Construct a SQL statement that displays the member ID and name of the members who have rented at least one movie released in the same year they started their membership. Get it solved now!
Task 3: Construct a nested SQL statement using the NOT EXISTS function to display the names and addresses of members who have not rented any movies.
Task 4: Construct a nested SQL statement using the EXISTS function to display members (memberID, name, address) who have rented movies from a specific genre ‘Action'.
Task 5: Construct a nested SQL statement using the EXISTS function to display members (memberID, name, email) who have rented movies released in the last 6 months in 2024.