Write SQL queries to access the information in the moma and imdb
databases. You can use the "show" command to get a list of
the tables in each database, and the "describe" command to get a
list of the columns in each table.
Note: Don't use subqueries or grouping in your
solutions.
6. Find all movies whose title
is in the form "Once Upon a Time in ..." (such as Once Upon a Time
in Hollywood, etc.). Show the title and year, ordered by
year.
7. Find all TV series with an
episode entitled 'Love Thy Neighbor'. Show the name of the
series, and the year that the episode aired.
8. Find all Action-Adventure-Comedy
movies made in the 1990s. Use the genres table to find
them. Show the title and year of each one, ordered by title.
9. Find all movies
in which John Ford directed John Wayne. Show the title and
year of each movie, ordered by year.
10. Find the episode title, episode year, and the role played by Virginia Gregg for all episodes of “Dragnet 1967” in which she appeared.
Use handin to submit a folder containing the .sql files
containing your queries. The course number is 311 and the
assignment number is 2.