Archived
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 retrieves the titles of the movies and the names of their directors?
0
Community Evaluations
Haithem Turki
24/07/2024
Les 2 requĂȘtes donnent le mĂȘme rĂ©sultat :
SELECT movies.title, directors.name FROM movies INNER JOIN directors ON movies.director_id = directors.director_id;
SELECT movies.title, directors.name FROM movies, directors WHERE movies.director_id = directors.director_id;
Elles sont correctes , est ce que pour ce tests il faut donner une seule réponse ou cocher toutes les bonnes réponses ?
19
Select only distinct values in a column using SQL16
Which SQL keyword is used to sort the result of a SELECT statement?11
Write the SQL query to delete a column from a table16
Update a column in an SQL table17
Write a SQL query to insert data into a table10
How to delete an SQL table?40
Write a SQL query to retrieve the list of employees with a salary greater than 5100.