• Non ci sono risultati.

Esercitazione database CD Canzoni Cantante

N/A
N/A
Protected

Academic year: 2021

Condividi "Esercitazione database CD Canzoni Cantante"

Copied!
1
0
0

Testo completo

(1)

Esercitazione Informatica

prof.Cuccurullo http://profcuccu.altervista.org Creare un database DBGennaro_4XS

 Creare le n tabelle

 Popolare le n tabelle con almeno 5 record  Aggiungere i campi chiave che legano le tabelle  Creare la relazione tra le tabelle

 Creare query semplice su una singola tabella  Creare query incrociata con più tabelle

Esempio : Creare un DataBase che memorizzi i CD posseduti da Gennaro Prima tabella tabCD

Seconda Tabella tabCANZONI

Creare Relazioni

Query semplici:

 Anno di uscita del cd (precedenti al 1950)

Codice SQL : SELECT TabCD.Anno_Uscita_CD, TabCD.Titolo_CD FROM TabCD

 I titoli dei CD di un cantante (per esempio Ligabue)

SELECT TabCD.Titolo_CD, TabCD.Cantante FROM TabCD WHERE (((TabCD.Cantante) Like "Ligabue"));  ecc……… CD che costano meno di 20 eur..

Query incrociate :

 Le canzoni di un cantante (… in tutti i CD)

Codice SQL : SELECT TabCANZONI.Canzone, TabCD.Cantante

FROM TabCD INNER JOIN TabCANZONI ON TabCD.ID_CD = TabCANZONI.Codice_CD WHERE (((TabCD.Cantante) Like "Ligabue"));

Succesivamente creare Creare una terza tabella Cantanti

contenente : Nome, Anno di Nascita , Nazionalita, NumCanzoni,Foto , ecc….

Riferimenti

Documenti correlati

Branch, Ann P., 2002, The Impact of the European Union on the Trade Union Movement, in Richard Balme and Didier Chabanet eds., L’action collective en Europe, Paris, Presses de

Given the central place of the distinction between procedural and substantive in the development of the English courts’ jurisprudence on legitimate expectations, it

In 2014 China became also a net foreign investor, after years of being one of the leading recipients of FDI. The country is an international lender and perhaps the only one

Nonostante il Giappone sia stato solitamente visto e descritto come un paese che rifugge il contrasto e cerca di evitare le controversie (o la loro risoluzione

The estimates from the model of large long-run trade gains from regulatory harmonization, significantly larger than from tariff reductions, therefore may be more delayed

Essays on Reason and Politics, Cambridge: MIT Press Boyd, Richard 1999, The Unsteady and Precarious Constitution of Individuals, 61 Reviewof Politics, 465-491 Bronckers, Mario

While under the EU Blue Card only the very highly qualified receive permanent work and residence permits upon arrival in Germany, all other Blue Card holders receive a

Corso di Laurea Magistrale in Marketing e Comunicazione.. (ordinamento ex