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 ~ comunicazione digitale > Dubbio query algebra relazionale
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
strad84
.fedelissimo.

User info:
Registered: Oct 2007
Posts: 52 (0.01 al dì)
Location:
Corso: comunicazione digitale
Anno: 3
Time Online: 3 Days, 3:58:46 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Dubbio query algebra relazionale

ciao....ho un dubbio traducendo questa query in algebra relazionale.

select count(*),annon
from libri natural join hascritto natural join autori
where argomento='java' and annom is null
group by annon


il dubbio riguarda il count. grazie!

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

User info:
Registered: Oct 2007
Posts: 52 (0.01 al dì)
Location:
Corso: comunicazione digitale
Anno: 3
Time Online: 3 Days, 3:58:46 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

helpppp

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

User info:
Registered: Jun 2004
Posts: 1208 (0.16 al dì)
Location:
Corso: Informatica per la Comunicazione (magistrale)
Anno:
Time Online: 7 Days, 2:33:37 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Quella é la seconda query dell'appello di Dicembre, guardando la mia brutta io ricordo che non veniva chiesto di contare gli autori (viventi che avevano scritto libri di java), ma semplicemente di ritornarne il nome e l'anno di nascita.

20-01-2009 21:24
Click Here to See the Profile for karplus Click here to Send karplus a Private Message Find more posts by karplus Add karplus to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
strad84
.fedelissimo.

User info:
Registered: Oct 2007
Posts: 52 (0.01 al dì)
Location:
Corso: comunicazione digitale
Anno: 3
Time Online: 3 Days, 3:58:46 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

e allora manco la query 3 dove c'era il count? cioè co l' algebra relazionale se po fa il count? questa è la domanda. grazie!

20-01-2009 21:37
Click Here to See the Profile for strad84 Click here to Send strad84 a Private Message Find more posts by strad84 Add strad84 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
karplus
.grande:maestro.

User info:
Registered: Jun 2004
Posts: 1208 (0.16 al dì)
Location:
Corso: Informatica per la Comunicazione (magistrale)
Anno:
Time Online: 7 Days, 2:33:37 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Io ho sottomano la brutta ora e vedo che il count andava usato nella quarta e nella quinta query, che non erano richieste in algebra relazionale. La terza query richiedeva di restituire tutti gli autori italiani che non avevano MAI scritto alcun libro di java.

Quanto al count in AR, non ho la minima idea di come si faccia. :-D

20-01-2009 23:53
Click Here to See the Profile for karplus Click here to Send karplus a Private Message Find more posts by karplus Add karplus 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:27.    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.034 seconds (70.55% PHP - 29.45% MySQL) con 27 query.