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%”;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Find all the movies directed by John Lasseter

A

SELECT title, director FROM movies
WHERE director = “John Lasseter”;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Find all the movies (and director) not directed by John Lasseter

A

SELECT title, director FROM movies
WHERE director != “John Lasseter”;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Find all the WALL-* movies

A

SELECT * FROM movies
WHERE title LIKE “WALL-_”;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly