Lab Assignment 5 - SELECT Queries With Conditions
Lab Assignment 5 - SELECT Queries With Conditions
Conditions
Instructions
1. Answer the below question in the boxes.
2. Please submit the assignment through TalentLabs Learning System.
1. Write a SQL query to list the titles of all movies released in 1990.
Expected Output: a table with a single column for the title of each movie.
Expected Output: a table with a single column and a single row (plus optional
header) containing Benedict Cumberbatch’s birth year.
3. Write a SQL query to list the titles of all movies with a release date on or after 2000,
in alphabetical order.
Expected Output: a table with a single column for the title of each movie.
4. Write a SQL query to determine the number of movies with an IMDb rating > 9.8.
Expected Output: a table with a single column and a single row (plus optional
header) containing the number of movies higher than 9.8 rating.
5. Write a SQL query to list the titles and release years of all Captain America movies,
in chronological order.
You may assume that the title of all Captain America movies will begin with the words
“Captain America”, and that if a movie title begins with the words “Captain America”,
it is a Captain America movie.
Expected Output: a table with two columns, one for the title of each movie and one
for the release year of each movie.
- End of Assignment -