Easy
Given the following 'movies' and 'directors' tables:
movies:
| movie_id | title | director_id |
|----------|---------|-------------|
| 1 | Movie A | 1 |
| 2 | Movie B | 2 |
| 3 | Movie C | 1 |
directors:
| director_id | name |
|-------------|-------------|
| 1 | Director 1 |
| 2 | Director 2 |
Which SQL query is the best way to retrieves the titles of the movies and the names of their directors?
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
32
Write a SQL query to retrieve the list of employees with a salary greater than 5100.10
Write the SQL query to delete a column from a table15
Select only distinct values in a column using SQL12
Which SQL keyword is used to sort the result of a SELECT statement?12
Write a SQL query to insert data into a table15
Update a column in an SQL table10
Write a SQL query to retrieve the products with a price less than 1000 and sort the results in descending order of price.