Reference no: EM133857973
LAB EXERCISE
Instructions:
In this lab exercise, you are required to continue working with the EliteVideo database introduced in Weeks 6-9.
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.
The total score for this lab exercise is 10 marks. Each task is worth up to 2 marks (SQL statement: 0.5 mark; explanation: 1 mark; screenshot: 0.5 mark)
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. Hire best assignment help service online!
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.