DROP TABLE IF EXISTS movies;

CREATE TABLE movies
(
	id INTEGER PRIMARY KEY, /*Use SERIAL for auto increment*/
	year INTEGER,
	score INTEGER,
	title CHARACTER VARYING NOT NULL
);

INSERT INTO movies (id, year, score, title) VALUES
	(1, 1976, 99, 'Taxi Driver'),
	(2, 1978, 93, 'The Deer Hunter'),
	(3, 1985, 98, 'Brazil'),
	(4, 1990, 96, 'Goodfellas'),
	(5, 1991, 76, 'Cape Fear'),
	(6, 1995, 80, 'Casino'),
	(7, 1995, 86, 'Heat'),
	(8, 2000, 84, 'Meet the Parents');

SELECT * FROM movies