programming-examples/sql/SQLMovieDatabase
2019-11-18 14:05:53 +01:00
..
1. Write a query in SQL to find the name and year of the movies.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
2. Write a query in SQL to find the year when the movie American Beauty released.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
3. Write a query in SQL to find the movie which was released in the year 1999.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
4. Write a query in SQL to find the movies which was released before 1998.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
5. Write a query in SQL to return the name of all reviewers and name of movies together in a single list, alphabetically.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
6. Write a query in SQL to find the name of all reviewers who have rated 7 or more stars to their rating.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
7. Write a query in SQL to find the titles of all movies that have no ratings.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
8. Write a query in SQL to find the name of all reviewers who have rated their ratings with a NULL value.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
9. Write a query in SQL to find the titles of the movies with ID 905, 907, 917.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
10. Write a query in SQL to find the list of all those movies with year which include the words Boogie Nights.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
11. Write a query in SQL to find the ID number for the actor whose first name is 'Woody' and the last name is 'Allen'.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
12. Write a query in SQL to list all the information of the actors who played a role in the movie 'Annie Hall'.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
13. Write a query in SQL to list the first and last names of all the actors who were cast in the movie 'Annie Hall', and the roles they played in that production.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
14. Write a query in SQL to find the name of movie and director (first and last names) who directed a movie that casted a role for 'Eyes Wide Shut'.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
15. Write a query in SQL to find the name of the director (first and last names) who directed a movie that casted a role for 'Eyes Wide Shut'.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
16. Write a query in SQL to find the name of movie and director (first and last names) who directed a movie that casted a role as Sean Maguire.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
17. Write a query in SQL to list all the actors who acted in a movie before 1990 and also in a movie after 2000.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
18. Write a query in SQL to list first and last name of all the directors with number of genres movies they directed with genres name, and arranged.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
19. Write a query in SQL to list all the movies with year and genres.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
20. Write a query in SQL to list all the movies with year, genres, and name of the director.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
21. Write a query in SQL to list all the movies which released in the country other than UK.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
22. Write a query in SQL to list all the movies with title, year, date of release, movie duration, and first and last name of the director which released before 1st January 1998.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
23. Write a query in SQL to compute a report which contain the genres of those movies with their average time and number of movies for each genres.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
24. Write a query in SQL to find those lowest duration movies along with the year, director's name, actor's name and his or her role in that production.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
25. Write a query in SQL to find the movie title, year, date of release, director and actor for those movies which reviewer is unknown.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
26. Write a query in SQL to find the titles of all movies directed by the director whose first and last name are Woddy Allen.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
27. Write a query in SQL to find the titles of all movies directed by the director whose first and last name are Woddy Allen.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
28. Write a query in SQL to find the titles of all movies that have no ratings.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
29. Write a query in SQL to find the names of all reviewers who have ratings with a NULL value.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
30. Write a query in SQL to return the reviewer name, movie title, and stars for those movies which reviewed by a reviewer and must be rated.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
31. Write a query in SQL to find the reviewer's name and the title of the movie for those reviewers who rated more than one movies.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
32. Write a query in SQL to find the movie title, and the highest number of stars that movie received and arranged the result according to the group.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
33. Write a query in SQL to find the names of all reviewers who rated the movie American Beauty.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
34. Write a query in SQL to find the titles of all movies which have been reviewed by anybody except by Paul Monks.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
35. Write a query in SQL to return the reviewer name, movie title, and number of stars for those movies which rating is the lowest one.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
36. Write a query in SQL to find the titles of all movies directed by James Cameron.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
37. Write a query in SQL to find all the years which produced a movie that received a rating of 3 or 4, and sort the result in increasing order.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
38. Write a query in SQL to return the reviewer name, movie title, and stars in an order that reviewer name will come first, then by movie title, and lastly by number of stars.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
40. Write a query in SQL to find the director's first and last name together with the title of the movie(s) they directed and received the rating.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
41. Write a query in SQL to find the name of those movies where one or more actors acted in two or more movies.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
42. Write a query in SQL to find the movie title, actor first and last name, and the role for those movies where one or more actors acted in two or more movies.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
43. Write a query in SQL to find the first and last name of a director and the movie he or she directed, and the actress appeared which first name was Claire.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
44. Write a query in SQL to find the first and last name of an actor with their role in the movie which was also directed by themselve.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
45. Write a query in SQL to find the cast list for the movie Chinatown.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
46. Write a query in SQL to find the movie in which the actor appeared whose first and last name are 'Harrison' and 'Ford'.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
47. Write a query in SQL to find the highest-rated movie, and report its title, year, rating, and releasing country.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
48. Write a query in SQL to find the highest-rated Mystery movie, and report the title, year, and rating.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
49. Write a query in SQL to generate a report which shows the year when most of the Mystery movies produces, and number of movies and their average rating.sql Adding SQL query language 2019-11-18 14:05:53 +01:00