Professional Documents
Culture Documents
/*EX4*/
/*
create table film (
idFilm int not null primary key,
idRealisateur int,
titre varchar (50),
genre varchar(50),
annee int
);
*/
/*2.1
select * from film where genre='drame' or genre='policier' ; */
/*2.2
delete from film where annee <1995; */
/*2.3
drop table film; */
/*2.4
insert into film values (12,22,'age de glace 4','annimation',2011);*/
select nom,prenom,film.idfilm from personne,film,projection where
idpers =(select idacteur from jouer where role ='heros')
and film.idrealisateur = (select idpers from personne where nom='kidman' and pre
nom='nicole')
and projection.jour='lundi'
and projection.idcinema= (select idcinema from cinema where nom='axn');