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 > Soluzione Appelli Castano
Pages (5): « 1 2 [3] 4 5 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
R1cky`
dsy developer

User info:
Registered: Oct 2007
Posts: 218 (0.03 al dì)
Location:
Corso: Informatica Magistrale
Anno: Secondo
Time Online: 1 Day, 13:11:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Mi spiego meglio: Hai detto che la cardinalità di default è 1:1, percui ogni tupla di e2 deve essere in relazione con relativa di e1 e di conseguenza la chiave esterna (i due campi A21 e A22 che hai in E1) non può essere nulla. O no?
Sono stato spiegato? :stralol:

17-01-2009 13:07
Click Here to See the Profile for R1cky` Click here to Send R1cky` a Private Message Find more posts by R1cky` Add R1cky` to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gimmy
.consigliere.

User info:
Registered: Jun 2008
Posts: 117 (0.02 al dì)
Location: Palazzolo Milanese
Corso: Informatica Magistrale
Anno:
Time Online: 22:56:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ah ok, intendi per il fatto che ho messo A21 e A22 nulli in E1 giusto? Lì li ho messi a causa di R2, non R1. Per R1 penso che bisogna copiare la chiave primaria di E1 in E2 o vicreversa(sempre ammesso che la cardinalità sia (1,1)).

17-01-2009 13:24
Click Here to See the Profile for Gimmy Click here to Send Gimmy a Private Message Find more posts by Gimmy Add Gimmy to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
morte2097
.primate.

User info:
Registered: Sep 2004
Posts: 68 (0.01 al dì)
Location: --------------------------------
Corso: info
Anno: primo
Time Online: 1 Day, 14:12:29 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

scusa ma come fai ad accorpare E3 in E1, c'è una dipendenza 1:N.

17-01-2009 13:50
Click Here to See the Profile for morte2097 Click here to Send morte2097 a Private Message Find more posts by morte2097 Add morte2097 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
morte2097
.primate.

User info:
Registered: Sep 2004
Posts: 68 (0.01 al dì)
Location: --------------------------------
Corso: info
Anno: primo
Time Online: 1 Day, 14:12:29 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

scusate, ho letto male!!!!!!!

17-01-2009 14:01
Click Here to See the Profile for morte2097 Click here to Send morte2097 a Private Message Find more posts by morte2097 Add morte2097 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
R1cky`
dsy developer

User info:
Registered: Oct 2007
Posts: 218 (0.03 al dì)
Location:
Corso: Informatica Magistrale
Anno: Secondo
Time Online: 1 Day, 13:11:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ragazzi sto facendo gli esercizi di algebra relazionale dei temi d'esame, chi di voi è così gentile da dirmi cosa ne pensa? :D
La mi scrittura è veramente penosa, ho cercato di scrivere il meglio possibile. :asd:
Grazie



Last edited by R1cky` on 17-01-2009 at 14:51

17-01-2009 14:05
Click Here to See the Profile for R1cky` Click here to Send R1cky` a Private Message Find more posts by R1cky` Add R1cky` to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
R1cky`
dsy developer

User info:
Registered: Oct 2007
Posts: 218 (0.03 al dì)
Location:
Corso: Informatica Magistrale
Anno: Secondo
Time Online: 1 Day, 13:11:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Scusate, il doppio post, ma perchè non si può allegare un file alla modifica del post???

Attachment: esera.zip
This has been downloaded 73 time(s).

17-01-2009 14:54
Click Here to See the Profile for R1cky` Click here to Send R1cky` a Private Message Find more posts by R1cky` Add R1cky` to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
irene
.precettore.

User info:
Registered: Feb 2003
Posts: 81 (0.01 al dì)
Location: milano
Corso: informatica
Anno: 3
Time Online: 1 Day, 0:19:58 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

esercizio 3 - luglio 2005

Ciao, secondo voi e' corretto cosi'? Il tempo 100 , mi trae un po' in inganno...
grazie.

a) Bianchi -->(15) Rossi --> (35) Verdi ------------> (45) Neri
|--> (25) Gialli ------------^ (55) |----> (65) Viola

neri non delega nulla a marroni x' non ha la G.O.

b) Revoke all on a from verdi;

c) dalla tabella sysauth viene eliminata l'occorrenza
verdi, rossi, a, r,35, y

il nuovo grafo e' così..
Bianchi -->(15) Rossi
|----> (25) Gialli ---> (55) Verdi ----> (65) Viola

17-01-2009 15:06
Click Here to See the Profile for irene Click here to Send irene a Private Message Find more posts by irene Add irene to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
R1cky`
dsy developer

User info:
Registered: Oct 2007
Posts: 218 (0.03 al dì)
Location:
Corso: Informatica Magistrale
Anno: Secondo
Time Online: 1 Day, 13:11:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Si anche io l'avrei fatto così, solo che però non capisco perchè dici che neri non delega marroni: è marroni che non ha la grant option percui è lui che non può delegare a sua volta qualcuno. O sbaglio?

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

User info:
Registered: Feb 2003
Posts: 81 (0.01 al dì)
Location: milano
Corso: informatica
Anno: 3
Time Online: 1 Day, 0:19:58 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

hai ragione tu .. la grant option indica se i privilegi sono delegabili.. quindi in questo caso Marroni non puo' delegare la select a nessuno.

il grafo a) non e' completo, manca la freccia da Neri a Marroni al tempo 75 ( Neri ----> (75) Marroni )

il grafo c) invece e' corretto x' in ogni caso Neri ha ricevuto la grant solo da Verdi.

Dico bene?
Grazie 1000.

17-01-2009 15:39
Click Here to See the Profile for irene Click here to Send irene a Private Message Find more posts by irene Add irene to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
morte2097
.primate.

User info:
Registered: Sep 2004
Posts: 68 (0.01 al dì)
Location: --------------------------------
Corso: info
Anno: primo
Time Online: 1 Day, 14:12:29 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ho dato un okkiata agli esercizzi sull'algebra relazionale, la parte seconda "determinare i pc dell......"
non capisco xkè fai la concatenzaione delle tabelle con la moltiplicazione e non col join naturale, così non riski di unire alla tabella dei pc DELL i pc ke hanno fatto una manutenzione hardware ma ke non sono della dell?

17-01-2009 15:54
Click Here to See the Profile for morte2097 Click here to Send morte2097 a Private Message Find more posts by morte2097 Add morte2097 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
R1cky`
dsy developer

User info:
Registered: Oct 2007
Posts: 218 (0.03 al dì)
Location:
Corso: Informatica Magistrale
Anno: Secondo
Time Online: 1 Day, 13:11:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by morte2097
non capisco xkè fai la concatenzaione delle tabelle con la moltiplicazione e non col join naturale, così non riski di unire alla tabella dei pc DELL i pc ke hanno fatto una manutenzione hardware ma ke non sono della dell?


No scusa tutti quegli scarabocchi che sembrano asterischi sono dei join naturali, prodotti cartesiani non ne ho usati :)

hai ragione tu .. la grant option indica se i privilegi sono delegabili.. quindi in questo caso Marroni non puo' delegare la select a nessuno. il grafo a) non e' completo, manca la freccia da Neri a Marroni al tempo 75 ( Neri ----> (75) Marroni ) il grafo c) invece e' corretto x' in ogni caso Neri ha ricevuto la grant solo da Verdi. Dico bene? Grazie 1000.


Io il grafo l'ho fatto così, mi convfermi che equivale a quello che hai scritto te?

17-01-2009 16:02
Click Here to See the Profile for R1cky` Click here to Send R1cky` a Private Message Find more posts by R1cky` Add R1cky` to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
irene
.precettore.

User info:
Registered: Feb 2003
Posts: 81 (0.01 al dì)
Location: milano
Corso: informatica
Anno: 3
Time Online: 1 Day, 0:19:58 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

il mio e' identico.

ho appena fatto l'esercizio 3 di aprile 2006, quello sul reverse eng.. provo ad allegare lo schema er che ho creato.. credi sia corretto?
grazie.

Attachment: reverseengaprile06.doc
This has been downloaded 47 time(s).

17-01-2009 16:20
Click Here to See the Profile for irene Click here to Send irene a Private Message Find more posts by irene Add irene to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gimmy
.consigliere.

User info:
Registered: Jun 2008
Posts: 117 (0.02 al dì)
Location: Palazzolo Milanese
Corso: Informatica Magistrale
Anno:
Time Online: 22:56:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

c) dalla tabella sysauth viene eliminata l'occorrenza verdi, rossi, a, r,35, y


scusa ma dalla tabella di sysatuth non vengono cancellate le righe
Neri verdi A R 45 Y
Marroni Neri A R 75 N
oltre a quella che hai detto tu?

ho appena fatto l'esercizio 3 di aprile 2006, quello sul reverse eng.. provo ad allegare lo schema er che ho creato.. credi sia corretto? grazie.


si, io l'ho fatto uguale, volevo chiedere invece se le cardinalità (1,n) le hai messe "a caso" e quindi andava bene anche mettere (0,n) oppure per un motivo particolare... perche io ad esempio ho messo (1,n) solo nella cardinalità che va da fattura a prodotto e da fattura a negozio, negli altri ho messo (0,n)...

Last edited by Gimmy on 17-01-2009 at 17:45

17-01-2009 17:42
Click Here to See the Profile for Gimmy Click here to Send Gimmy a Private Message Find more posts by Gimmy Add Gimmy to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
morte2097
.primate.

User info:
Registered: Sep 2004
Posts: 68 (0.01 al dì)
Location: --------------------------------
Corso: info
Anno: primo
Time Online: 1 Day, 14:12:29 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

1 cosa, solo x kiarimento,sulle cardinalità , se il negozio e la fattura sono obbligati a effettuare spedizioni è giusto,se per ogni negozio/fattura nn c'è l'obbligo della spedizione sarebbe (0,n) giusto? poi il resto mi sembra tutto ok.

17-01-2009 17:43
Click Here to See the Profile for morte2097 Click here to Send morte2097 a Private Message Find more posts by morte2097 Add morte2097 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
R1cky`
dsy developer

User info:
Registered: Oct 2007
Posts: 218 (0.03 al dì)
Location:
Corso: Informatica Magistrale
Anno: Secondo
Time Online: 1 Day, 13:11:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Io credo che visto che non ci sono attributi opzionali nelle chiavi esterne tutte le le entità hanno la partecipazione obbligatoria all'associazione alle rispettive associazioni. O no?

17-01-2009 17:59
Click Here to See the Profile for R1cky` Click here to Send R1cky` a Private Message Find more posts by R1cky` Add R1cky` to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 05:44.    Post New Thread    Post A Reply
Pages (5): « 1 2 [3] 4 5 »   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.128 seconds (64.50% PHP - 35.50% MySQL) con 24 query.