 |
Vale |
| cioè come faresti? ... |
12-02-2003 15:15 |
|
 |
Vale |
.illuminato.
Registered: Jul 2002
Posts: 230 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 3 Days, 19:48:50 [...]
Status: Offline
Edit | Report | IP: Logged |
cioè come faresti?
|
|
12-02-2003 15:15 |
|
|
|  |
 |
Alis |
| Noi l'abbiamo rifatto così:
... |
12-02-2003 16:48 |
|
 |
Alis |
.grande:maestro.

Registered: Jun 2002
Posts: 862 (0.10 al dì)
Location: Corsico
Corso:
Anno:
Time Online: 10 Days, 16:32:12 [...]
Status: Offline
Edit | Report | IP: Logged |
Noi l'abbiamo rifatto così:
13/01/03:
Esercizio 1/C:
SELECT CodFornitore
FROM Computer
GROUP BY CodFornitore
HAVING COUNT (*) >= ALL (SELECT COUNT (*) FROM Computer GROUP BY CodFornitore);
Esercizio 3:
CREATE TABLE R1(K Integer not null, A Integer)
PRIMARY KEY (K);
CREATE TABLE R2(K Integer not null, B Integer)
PRIMARY KEY (K);
INSERT INTO R1(K, A)
SELECT K, A
FROM R;
INSERT INTO R2(K, B)
SELECT K, B
FROM R;
DROP TABLE R;
CREATE VIEW R(K, A, B) AS
SELECT R1.K, A, B
FROM R1, R2
WHERE R1.K=R2.K;
GRANT SELECT ON R TO Rossi;
In bocca al lupo per domani!!!!
|
|
12-02-2003 16:48 |
|
|
|  |
 |
Lunik |
| giusti ... |
12-02-2003 16:50 |
|
 |
Lunik |
dsy core staff

Registered: Mar 2002
Posts: 22362 (2.56 al dì)
Location: Milano
Corso: ComDig
Anno: Dott.ssa
Time Online: 93 Days, 0:52:10 [...]
Status: Offline
Edit | Report | IP: Logged |
giusti
__________________
Il DSY su Facebook!!!
|
|
12-02-2003 16:50 |
|
|
|  |
 |
Lunik |
|
 |
Lunik |
dsy core staff

Registered: Mar 2002
Posts: 22362 (2.56 al dì)
Location: Milano
Corso: ComDig
Anno: Dott.ssa
Time Online: 93 Days, 0:52:10 [...]
Status: Offline
Edit | Report | IP: Logged |

Speriamo che domani ci sia qualcosa di simile... 
__________________
Il DSY su Facebook!!!
|
|
12-02-2003 17:15 |
|
|
|  |
 |
Alis |
| Speriamo!!!!! ... |
12-02-2003 17:21 |
|
 |
Alis |
.grande:maestro.

Registered: Jun 2002
Posts: 862 (0.10 al dì)
Location: Corsico
Corso:
Anno:
Time Online: 10 Days, 16:32:12 [...]
Status: Offline
Edit | Report | IP: Logged |
Speriamo!!!!!
|
|
12-02-2003 17:21 |
|
|
|  |
 |
Lunik |
| *sgrat sgrat*
... |
12-02-2003 17:22 |
|
 |
Lunik |
dsy core staff

Registered: Mar 2002
Posts: 22362 (2.56 al dì)
Location: Milano
Corso: ComDig
Anno: Dott.ssa
Time Online: 93 Days, 0:52:10 [...]
Status: Offline
Edit | Report | IP: Logged |
*sgrat sgrat*

__________________
Il DSY su Facebook!!!
|
|
12-02-2003 17:22 |
|
|
|  |
 |
imation |
| [QUOTE][i]Originally posted by Alis [/i]
... |
12-02-2003 17:44 |
|
 |
imation |
.illuminato.

Registered: May 2002
Posts: 158 (0.02 al dì)
Location:
Corso: Comunicazione Digitale
Anno: 2
Time Online: 3 Days, 1:19:31 [...]
Status: Offline
Edit | Report | IP: Logged |
Originally posted by Alis
Noi l'abbiamo rifatto così:
13/01/03:
Esercizio 1/C:
SELECT CodFornitore
FROM Computer
GROUP BY CodFornitore
HAVING COUNT (*) >= ALL (SELECT COUNT (*) FROM Computer GROUP BY CodFornitore);
perfetto!! grazie alis
|
|
12-02-2003 17:44 |
|
|
|  |
 |
Alis |
| [QUOTE][i]Originally posted by imation [/i]
... |
12-02-2003 17:49 |
|
 |
Alis |
.grande:maestro.

Registered: Jun 2002
Posts: 862 (0.10 al dì)
Location: Corsico
Corso:
Anno:
Time Online: 10 Days, 16:32:12 [...]
Status: Offline
Edit | Report | IP: Logged |
Originally posted by imation
perfetto!! grazie alis
Di niente!!
|
|
12-02-2003 17:49 |
|
|
|  |
 |
otty2907 |
| RAga .. giusto per capire .. se si può dategli u ... |
12-02-2003 18:14 |
|
 |
otty2907 |
.consigliere.

Registered: Jul 2002
Posts: 101 (0.01 al dì)
Location: milano
Corso: Com.Dig.
Anno: III
Time Online: 1 Day, 0:24:11 [...]
Status: Offline
Edit | Report | IP: Logged |
RAga .. giusto per capire .. se si può dategli una occhiata :
SELECT CodFornitore
FROM Computer
WHERE MAX (SELECT COUNT (*)
FROM Computer Where GROUP BY CodFornitore)
é possibile utilizzare cosi --MAX ... GRazie
Last edited by otty2907 on 12-02-2003 at 18:16
|
|
12-02-2003 18:14 |
|
|
|  |
 |
Lunik |
| così si...ma quel Where solo.... no... ;) ... |
12-02-2003 18:17 |
|
 |
Lunik |
dsy core staff

Registered: Mar 2002
Posts: 22362 (2.56 al dì)
Location: Milano
Corso: ComDig
Anno: Dott.ssa
Time Online: 93 Days, 0:52:10 [...]
Status: Offline
Edit | Report | IP: Logged |
così si...ma quel Where solo.... no... 
__________________
Il DSY su Facebook!!!
|
|
12-02-2003 18:17 |
|
|
|  |
 |
otty2907 |
| RAgazzi potete scrivere due righe sui JOIN (vari ... |
12-02-2003 18:20 |
|
 |
otty2907 |
.consigliere.

Registered: Jul 2002
Posts: 101 (0.01 al dì)
Location: milano
Corso: Com.Dig.
Anno: III
Time Online: 1 Day, 0:24:11 [...]
Status: Offline
Edit | Report | IP: Logged |
RAgazzi potete scrivere due righe sui JOIN (vari tipologie) e spiegarmi in che occasione utilizzarli ... grazie
|
|
12-02-2003 18:20 |
|
|
|  |
 |
Lunik |
| Ma non hai il libro??? O le slides della prof? Lì ... |
12-02-2003 18:21 |
|
 |
Lunik |
dsy core staff

Registered: Mar 2002
Posts: 22362 (2.56 al dì)
Location: Milano
Corso: ComDig
Anno: Dott.ssa
Time Online: 93 Days, 0:52:10 [...]
Status: Offline
Edit | Report | IP: Logged |
Ma non hai il libro??? O le slides della prof? Lì è tutto spiegato bene!
posto qualche esercizio che ho ricevuto da Francesco, potrà essere utile.
__________________
Il DSY su Facebook!!!
|
|
12-02-2003 18:21 |
|
|
|  |
 |
Lunik |
| rettifica: NON posso postare quel file xè coperto ... |
12-02-2003 18:23 |
|
 |
Lunik |
dsy core staff

Registered: Mar 2002
Posts: 22362 (2.56 al dì)
Location: Milano
Corso: ComDig
Anno: Dott.ssa
Time Online: 93 Days, 0:52:10 [...]
Status: Offline
Edit | Report | IP: Logged |
rettifica: NON posso postare quel file xè coperto da copyright...

__________________
Il DSY su Facebook!!!
|
|
12-02-2003 18:23 |
|
|
|  |
 |
ev619970 |
| grande alice ... |
12-02-2003 18:30 |
|
 |
ev619970 |
.novellino.
Registered: Oct 2002
Posts: 9 (0.00 al dì)
Location: Como
Corso: comunicazione digitale
Anno: 2
Time Online: 16:50:55 [...]
Status: Offline
Edit | Report | IP: Logged |
grande alice
|
|
12-02-2003 18:30 |
|
|
|  |
 |
| All times are GMT. The time now is 21:51. |
|
|
 |
|
 |
|
|
|  |
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
|
|
|
|
|
|