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 > dubbio su esercizio E-R
Pages (2): « 1 [2]   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Spr1gg4N
.illuminato.

User info:
Registered: Sep 2007
Posts: 162 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 18:40:54 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

nu che hanno fatto ordini ad almeno due operatori diversi

17-01-2010 21:11
Click Here to See the Profile for Spr1gg4N Click here to Send Spr1gg4N a Private Message Find more posts by Spr1gg4N Add Spr1gg4N to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dieguito
.precettore.

User info:
Registered: Dec 2006
Posts: 85 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno: secondo...più o meno..
Time Online: 1 Day, 10:36:09: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

io la seconda query sql l'ho fatta così:

SELECT c.nome
FROM cliente c, ordine o1
WHERE o1.nr_telefono=c.nr_telefono
AND EXISTS(SELECT *
FROM ordine o2
WHERE o1.nr_telefono=o2.nr_telefono
AND
o1.codice_operatore <> o2.codice_operatore)

e la prima invece l'ho fatta come Spr1gg4n; le ho provate entrambe e funzionano...
Domattina se riesco posto la soluzione dell'inverse engineering così le confrontiamo..

18-01-2010 00:02
Click Here to See the Profile for dieguito Click here to Send dieguito a Private Message Find more posts by dieguito Add dieguito to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dieguito
.precettore.

User info:
Registered: Dec 2006
Posts: 85 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno: secondo...più o meno..
Time Online: 1 Day, 10:36:09: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

il reverse engineering io l'ho fatto così:

che ne dite?
scusate la qualità ma non avevo voglia di rifarlo a computer..:D

18-01-2010 09:33
Click Here to See the Profile for dieguito Click here to Send dieguito a Private Message Find more posts by dieguito Add dieguito to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Spr1gg4N
.illuminato.

User info:
Registered: Sep 2007
Posts: 162 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 18:40:54 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

io l'ho fatto esattamente come te :D

18-01-2010 10:16
Click Here to See the Profile for Spr1gg4N Click here to Send Spr1gg4N a Private Message Find more posts by Spr1gg4N Add Spr1gg4N to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
stenofa
.primate.

User info:
Registered: Oct 2007
Posts: 71 (0.01 al dì)
Location: Milano
Corso: Informatica per le Telecomunicazioni
Anno: 1anno
Time Online: 21:03:03: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ciao ragazzi volevo chiedervi un info... perchè questo confronto?

o1.codice_operatore <> o2.codice_operatore

non l'ho capito!

__________________
..fortunato io...

18-01-2010 11:02
Click Here to See the Profile for stenofa Click here to Send stenofa a Private Message Find more posts by stenofa Add stenofa to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
stenofa
.primate.

User info:
Registered: Oct 2007
Posts: 71 (0.01 al dì)
Location: Milano
Corso: Informatica per le Telecomunicazioni
Anno: 1anno
Time Online: 21:03:03: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

no ok ok... avevo letto male la richiesta del prof..

__________________
..fortunato io...

18-01-2010 11:04
Click Here to See the Profile for stenofa Click here to Send stenofa a Private Message Find more posts by stenofa Add stenofa to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
stenofa
.primate.

User info:
Registered: Oct 2007
Posts: 71 (0.01 al dì)
Location: Milano
Corso: Informatica per le Telecomunicazioni
Anno: 1anno
Time Online: 21:03:03: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

l'esercizio 2 dell'appello del 10 aprile2006 lo avete fatto?

__________________
..fortunato io...

18-01-2010 13:11
Click Here to See the Profile for stenofa Click here to Send stenofa a Private Message Find more posts by stenofa Add stenofa to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dieguito
.precettore.

User info:
Registered: Dec 2006
Posts: 85 (0.01 al dì)
Location: Milano
Corso: Informatica
Anno: secondo...più o meno..
Time Online: 1 Day, 10:36:09: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ragazzi ma questo esercizio come le fareste?


a me verrebbe da mettere:
1) 1:N e 3:N
2) 1:N e 1:6
3) 1:10 e 1:2

ma sembra una boiata pazzesca.. anche perchè non ho mai visto delle cardinalità simili.. saranno tutti 1:N??

18-01-2010 16:40
Click Here to See the Profile for dieguito Click here to Send dieguito a Private Message Find more posts by dieguito Add dieguito to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Spr1gg4N
.illuminato.

User info:
Registered: Sep 2007
Posts: 162 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 18:40:54 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

secondo me è così:
1) 1:N e 3:N
2) 0:N e 0:6 (perchè dice "possono" e non "devono")
3) 1:10 e 2:2 (perchè dice che ogni articolo "deve" avere due esperti)

io in questi casi li leggo come, ad esempio la terza:
"Un esperto revisiona da 1 a 10 articoli e un articolo viene revisionato da un minimo di 2 ad un max di due esperti"

però nn so se sbaglio...
cmq sì, in realtà le cardinalità > 1 diventano un generico N ma in un esercizio come questo credo sia giusto mettere numeri come 10,2 o 6 se sono specificati nel testo.

18-01-2010 16:59
Click Here to See the Profile for Spr1gg4N Click here to Send Spr1gg4N a Private Message Find more posts by Spr1gg4N Add Spr1gg4N to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
stenofa
.primate.

User info:
Registered: Oct 2007
Posts: 71 (0.01 al dì)
Location: Milano
Corso: Informatica per le Telecomunicazioni
Anno: 1anno
Time Online: 21:03:03: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

anche io lo farei così, mi rimane un dubbio sulla 3a richiesta

perchè non 0:10 e 2:2
se nel punto 2 mettiamo 0:N e ci scrive possono revisionare, nel 3 scrive un esperto revisiona non più di 10 articoli, ma potrebbe farne anche 0. no?

__________________
..fortunato io...

18-01-2010 17:44
Click Here to See the Profile for stenofa Click here to Send stenofa a Private Message Find more posts by stenofa Add stenofa to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Spr1gg4N
.illuminato.

User info:
Registered: Sep 2007
Posts: 162 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 18:40:54 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

eh si in effetti anche io ho questo dubbio...se ci fosse stato scritto espressamente "un esperto potrebbe revisionare al più 10 articoli" sarei sicuro sul 0:N ma così nn saprei...

18-01-2010 18:10
Click Here to See the Profile for Spr1gg4N Click here to Send Spr1gg4N a Private Message Find more posts by Spr1gg4N Add Spr1gg4N to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
stenofa
.primate.

User info:
Registered: Oct 2007
Posts: 71 (0.01 al dì)
Location: Milano
Corso: Informatica per le Telecomunicazioni
Anno: 1anno
Time Online: 21:03:03: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

l'esercizio 3 di aprile 2006 è identico al vostro...

__________________
..fortunato io...

19-01-2010 08:32
Click Here to See the Profile for stenofa Click here to Send stenofa a Private Message Find more posts by stenofa Add stenofa to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
lferri469
.precettore.

User info:
Registered: Jan 2009
Posts: 84 (0.01 al dì)
Location:
Corso:
Anno:
Time Online: 12:57:57 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

vi volevo chiedere un info perche sono un attimo in crisi :)
volevo chiedervi nel caso in cui avessi un associazione ternaria nel quale tre entita puntano alla stessa relazione, è possibile piu che possibile dire corretto associare secondo voi l'id di tale relazione (che a livello di sql verrebbe trasformata in tabella contenente le chiavi primarie delle entità) come FOREIGN KEY in una delle entità associate?
non so se mi sono spiegato...
ciao e grazie a tutti

30-03-2011 13:54
Click Here to See the Profile for lferri469 Click here to Send lferri469 a Private Message Find more posts by lferri469 Add lferri469 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 07:43.    Post New Thread    Post A Reply
Pages (2): « 1 [2]   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.052 seconds (80.41% PHP - 19.59% MySQL) con 26 query.