1 / 6

Secondo compito 1.Progettazione DataBase Adorante Maria

Secondo compito 1.Progettazione DataBase Adorante Maria . Analisi dei requisiti. Si vuole automatizzare la gestione di una biblioteca personale. E’ necessario memorizzare le entità: Amici Libri D ominio Applicativo

wells
Télécharger la présentation

Secondo compito 1.Progettazione DataBase Adorante Maria

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. Secondo compito1.Progettazione DataBaseAdorante Maria

  2. Analisi dei requisiti Si vuole automatizzare la gestione di una biblioteca personale. E’ necessario memorizzare le entità: • Amici • Libri Dominio Applicativo E’ rappresentato dalle entità del sistema Biblioteca, particolarmente quelle relativa alla gestione dei Prestiti.

  3. Schema Entità-Relazioni amici 1 : N libri N : 1 N : N PRESTITI

  4. Progettazione Logica TabellaAmici Definizione delle caratteristiche degli attributi Tabella Libri

  5. Tabella Prestiti I libri possono essere prestati anche senza fissare la data di restituzione, quindi i valori nulli riguardano la Data di Restituzione. Non possendendo due libri con lo stesso titolo, la chiave è Titolo.

  6. 2.Base dati Ospedale Chiavi : • Per Pazienti e Reparti è “Cod” ; • Per Ricoveri sono “Paziente” , “Inizio” ; • Per Medici è “Matr” . Vincoli di Integrità Referenziale esistono tra : • “Paziente” in Ricoveri e “Cod” in Pazienti ; • “Primario” in Reparti e “Matr” in Medici ; • “ Reparto” in Medici e “Cod” in “Reparti” ; • “Reparto” in “Ricoveri” e “Cod” in Reparti” .

More Related