Professional Documents
Culture Documents
1 Select
1 Select
4 SELECT distinct prenom FROM individu ; SELECT distinct prenom FROM individu order by prenom;
12 SELECT prenom from individu where prenom like '%a%'and prenom like '%l%';
13 SELECT nom from individu where nom like '%an%'or nom like '%on%';
TP2
6 select libelle from produit where prix=(select prix from produit where libelle like 'Nectar de
Mangue' ) ;
8 select nom,prenom,adresse from client where id in(select id_client from commande where cdate>
date'2008-01-01');
Tp 3
7 SELECT nom,prenom FROM individu where num_ind in(select num_ind from jouer)
minus SELECT nom,prenom FROM individu where num_ind in(select num_ind from jouer where
num_film in (select num_film from film where genre='drama')) ;
EX 2
1 SELECT nom,prenom FROM individu,film where individu.num_ind=film.num_ind and titre like 'Pulp
Fiction' ;
2 SELECT titre FROM film,individu where film.num_ind=individu.num_ind and nom like 'von Trier'and
prenom like'Lars';
3 SELECT distinct titre FROM film,projection where film.num_film=projection.num_film and
to_char(pdate,'YYYY')='2002';