Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi A - F > Basi di dati ~ informatica triennale > esercizio
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
middu
.arcimaestro.

User info:
Registered: Oct 2002
Posts: 466 (0.06 al dì)
Location:
Corso:
Anno:
Time Online: 4 Days, 16:14:21 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
esercizio

E’ dato il seguente schema di relazioni, che descrive il calendario di una manifestazione sportiva a squadre:
SQUADRA(Nome,Allenatore,Città)
STADIO(Nome,Città,Capienza)
INCONTRO(Nomestadio,Data,Squadra1, Punti1,Squadra2,Punti2)

Elencare le squadre che hanno sede in città nelle quali lo stadio (almeno uno) ha capienza superiore a 60000.

R: (∏nome(SQUADRA) * (∏città(σcapienza >60000(stadio))) invece nelle soluzioni c'e questa: (SQUADRA) * (∏città(σcapienza >60000(stadio))) . quale delle due è vera ???

11-06-2008 16:03
Click Here to See the Profile for middu Click here to Send middu a Private Message Find more posts by middu Add middu to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
number15
.grande:maestro.

User info:
Registered: Nov 2005
Posts: 652 (0.09 al dì)
Location:
Corso:
Anno:
Time Online: 121 Days, 13:57:11 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Entrambe (anche se nella prima c'è una parentesi iniziale che o chiudi alla fine o puoi non metterla): la prima tira fuori il nome, mentre la seconda nome, allenatore e città.
Io invece farei una terza versione:
(∏nome,città SQUADRA) * (∏città(σcapienza >60000 STADIO))

Così se hai due squadre con lo stesso nome, c'è in più la città per identificare.

__________________
Portale segnalazioni marchi-negozi di abbigliamento
http://www.ovojo.com

11-06-2008 19:12
Click Here to See the Profile for number15 Click here to Send number15 a Private Message Find more posts by number15 Add number15 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 10:24.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.061 seconds (60.73% PHP - 39.27% MySQL) con 23 query.