1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
| --------------------------Question A
Select no_location from location
where annee_prod='23-03-2008'
order by titre_film ASC
--------------------------Question B
select no_membre, prenom_membre,nom_membre,adresse from membre
where date_nais BETWEEN '01-11-1980' and '15-11-1980'
and adresse like '%principale%'
--------------------------Question C
select no_location,date_location,montant_membre
from location
INNER JOIN membre on location.no_membre = membre.no_membre
where montant_location>'10'
--------------------------Question D
select no_location from membre
INNER JOIN location on membre.no_membre=location.no_membre
and date_nais BETWEEN '25-05-1978' and '05-08-1980'
order by date_nais
--------------------------Question E
select titre_film from Film
INNER JOIN cassette on film.code_film=cassette.code_film
INNER Join cassette_louee on cassette_louee.no_cassette=cassette.no_cassette
INNER JOIN Location on Location.no_location=cassette_louee.no_location
and location.no_location=141893 |