when writing a query to produce a table that lists the titles of all movies with a release date on or after 2018, in alphabetical order I produce a table with 35,755 rows. The CS50 pset states that I should have 35,775 rows. Could anyone help me work out why I am not selecting 20 of the tiles?
my query is:
SELECT title FROM movies WHERE year > 2017 ORDER BY title;
Thanks in advance.
>2017
or>2018
? Next, run the following query on your db to see if there's any missing data:select count from movies where year >2017
. If the count is low, then data is missing. Try deleting and reloading the db.