Task 3 Queries with constraints (Pt. 2) Flashcards
1
Q
Find all the Toy Story movies
A
SELECT title, director FROM movies
WHERE title LIKE “Toy Story%”;
2
Q
Find all the movies directed by John Lasseter
A
SELECT title, director FROM movies
WHERE director = “John Lasseter”;
3
Q
Find all the movies (and director) not directed by John Lasseter
A
SELECT title, director FROM movies
WHERE director != “John Lasseter”;
4
Q
Find all the WALL-* movies
A
SELECT * FROM movies
WHERE title LIKE “WALL-_”;