Advertisement
Guest User

Untitled

a guest
Jan 24th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. SELECT DISTINCT Nome FROM Sale WHERE Città='Pisa';
  2. SELECT Titolo FROM Film WHERE Regista='Fellini' AND AnnoProduzione>1960;
  3. SELECT f.Titolo,a.Nome FROM Film f,Attori a,Recita r WHERE a.CodAttore=r.CodAttore AND a.Nazionalità='Francia';
  4. SELECT Titolo FROM Film WHERE Genere=”Fantascienza” and ((Nazionalità=”Giapponese” and Anno>1990) or Nazionalità=”Francese”) ;
  5. SELECT Titolo FROM Film WHERE Regista = (SELECT Regista FROM Film WHERE Titolo = “Casablanca”);
  6. SELECT DISTINCT Titolo,Genere FROM Film f, Proiezioni p WHERE p.DataProiezione =25/12/04 and f.CodFilm=p.CodFilm;
  7. SELECT DISTINCT f.Titolo, f.Genere FROM Film f, Proiezioni p, Sale s WHERE p.DataProiezione =25/12/04 and s.Città=”Napoli” and f.CodFilm=p.CodFilm and p.CodSala=s.CodSala;
  8. SELECT DISTINCT s.Nome FROM Attori a, Recita r, Film f, Proiezioni p, Sale s WHERE p.DataProiezione =25/12/04 and s.Città=”Napoli” and a.Nome = “R.Williams” and a.CodAttore = r.CodAttore and r.CodFilm = f.CodFilm and f.CodFilm=p.CodFilm and p.CodSala=s.CodSala;
  9. SELECT DISTINCT f.Titolo FROM Film f, Recita r, Attore a WHERE (a.Nome = “M.Mastrianni” OR a.Nome = ”S.Loren”) AND f.CodFilm = r.CodFilm AND r.CodAttore = a.CodAttore;
  10. ?
  11. SELECT f.Titolo, a.Nome FROM Attori a, Recita r, Film f WHERE a.CodAttore = r.CodAttore and r.CodFilm = f.CodFilm and a.Nazionalità = “Francese”;
  12. SELECT DISTINCT f.Titolo, s.Nome FROM Film f, Proiezioni p, Sale s WHERE f.CodFilm = s.CodFilm and p.CodSala=s.CodSala and s.Città = ‘Pisa’ and p.DataProiezione between 01/01/05 and 31/01/05;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement