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 > [Help] Vecchi temi d'esame
Pages (2): « 1 [2]   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
-MICKY-
.grande:maestro.

User info:
Registered: Dec 2003
Posts: 507 (0.06 al dì)
Location: Milano
Corso: com dig
Anno: Doctor
Time Online: 4 Days, 5:26:54 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by PablitoEscobar
Da quello che ho capito solo in Access perche' MySQL lo accetta.


ah sì?? ank'io avevo questo sospetto..

cmq buono a sapersi così è più semplice.. ;)

grazie

30-01-2007 17:47
Click Here to See the Profile for -MICKY- Click here to Send -MICKY- a Private Message Find more posts by -MICKY- Add -MICKY- to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
symrad
.amico.

User info:
Registered: Nov 2004
Posts: 21 (0.00 al dì)
Location: como
Corso: comunicazione digitale
Anno: 2004/2005
Time Online: 1 Day, 1:48:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Io ho scoperto da poco le view e secondo me era meglio farla in questo modo:

CREATE VIEW StudenteSfigato (cognome,matricola,NumVolteNonSuperatoEsameLabInfA
pplicata) AS
SELECT studente.Cognome, esame.matricola, count(Esame.matricola) AS NumVolteNonSuperatoEsameLabInfApplicata
FROM Esame, studente
WHERE esame.matricola=studente.matricola and voto<18 and nome_corso="LabInfApplicata"
GROUP BY cognome, esame.matricola;

SELECT cognome,matricola,MAX(NumVolteNonSuperatoEsameLabI
nfApplicata)
FROM StudenteSfigato
GROUP BY cognome,matricola

Non l'ho verificata su questo tipo di database ho provato a fare una view tipo questa sul progetto aeroporto e sembra funzionare

30-01-2007 21:24
Click Here to See the Profile for symrad Click here to Send symrad a Private Message Find more posts by symrad Add symrad to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
PablitoEscobar
.precettore.

User info:
Registered: Oct 2003
Posts: 81 (0.01 al dì)
Location: Colombia
Corso: comunicazione digitale
Anno: terzo
Time Online: 2 Days, 21:30:22 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by symrad
Io ho scoperto da poco le view e secondo me era meglio farla in questo modo:

CREATE VIEW StudenteSfigato (cognome,matricola,NumVolteNonSuperatoEsameLabInfA
pplicata) AS
SELECT studente.Cognome, esame.matricola, count(Esame.matricola) AS NumVolteNonSuperatoEsameLabInfApplicata
FROM Esame, studente
WHERE esame.matricola=studente.matricola and voto<18 and nome_corso="LabInfApplicata"
GROUP BY cognome, esame.matricola;

SELECT cognome,matricola,MAX(NumVolteNonSuperatoEsameLabI
nfApplicata)
FROM StudenteSfigato
GROUP BY cognome,matricola

Non l'ho verificata su questo tipo di database ho provato a fare una view tipo questa sul progetto aeroporto e sembra funzionare



Si le view funzionano ma anche quelle non su access.
In poche parole MS e' da evitare..

30-01-2007 23:41
Click Here to See the Profile for PablitoEscobar Click Here to See the Blog of PablitoEscobar Click here to Send PablitoEscobar a Private Message Find more posts by PablitoEscobar Add PablitoEscobar to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 22:55.    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.113 seconds (57.80% PHP - 42.20% MySQL) con 24 query.