Corrigez cette requête - intention
En vous appuyant sur les quatre pistes que vous avez identifiées, vous allez maintenant clarifier l’intention de cette requête, étape par étape.
SELECT x1.customer_id, x1.rental_date, x1.return_date
FROM rental x1
JOIN inventory x2
ON x1.inventory_id = x2.inventory_id
JOIN film x3
ON x2.film_id = x3.film_id
WHERE x3.length < 90;
Cet exercice fait partie du cours
Appliquer SQL à des problèmes concrets
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
SELECT x1.customer_id, x1.rental_date, x1.return_date
FROM rental x1
JOIN inventory x2
ON x1.inventory_id = x2.inventory_id
JOIN film x3
ON x2.film_id = x3.film_id
WHERE x3.length < 90;