1 / 6

Relational algebra Esercizi

Relational algebra Esercizi. Prof. Francesco Bellotti franz@dibe.unige.it. Date le 2 relazioni R e S, istanze della relazione movieStar: movieStar(name, address, gender, birthdate) determinare R U S e R - S. R. S. Date la relazione: movieStar(name, address, gender, birthdate)

shadow
Download Presentation

Relational algebra Esercizi

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Relational algebraEsercizi Prof. Francesco Bellotti franz@dibe.unige.it Relational Algebra

  2. Date le 2 relazioni R e S, istanze della relazione movieStar: movieStar(name, address, gender, birthdate) determinare R U S e R - S R S Relational Algebra

  3. Date la relazione: movieStar(name, address, gender, birthdate) Trovare il valore della seguente espressione: SelectGender=‘F’ AND Birthdate>1960 (movieStar) Relational Algebra

  4. Calcolare T = R JOIN S Relational Algebra

  5. Calcolare T = R JOIN A<D AND R.B !=S.B S Relational Algebra

  6. Scrivere l’espressione di query per ricavare l’anno di immatricolazione più recente di ogni modello d’aereo che è presente nella flotta di almeno 4 compagnie aeree Aerei(modelloAereo, marcaAereo, annoImm, compagniaAerea) Relational Algebra

More Related