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 > [BASI DI DATI-Castano] Informazioni generali
Pages (24): « First ... « 3 4 5 6 [7] 8 9 10 11 » ... Last »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Skilotto83
..Energia positiva...

User info:
Registered: Jun 2003
Posts: 1608 (0.19 al dì)
Location: Arconate
Corso: Informatica
Anno: LAUREATO!!!
Time Online: 15 Days, 6:32:44 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ma esempi di compitini nn ce ne sono??
E poi...esercizi ci sono solo quelli delle due esercitazioni che han fatto??
Nient'altro??

__________________
"Why, Sir, you find no man at all intellectual who is willing to leave London.
No, Sir, when a man is tired of London, he is tired of life; for there is in London all that life can afford."
(DR SAMUEL JOHNSON 1777)

MSN andrea.poretti(at)hotmail.it

01-11-2004 11:17
Click Here to See the Profile for Skilotto83 Click here to Send Skilotto83 a Private Message Find more posts by Skilotto83 Add Skilotto83 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Bloody
ex universitaria

User info:
Registered: Jan 2003
Posts: 1939 (0.23 al dì)
Location: milano trasferta
Corso: informatica
Anno: dottora :)
Time Online: 49 Days, 2:18:48 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

compitini no, ci sono testi di appelli d'esame in area filez..
ci sarà un'altra esercitazione di sql questa settimana :D

__________________
I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

01-11-2004 11:30
Click Here to See the Profile for Bloody Click Here to See the Blog of Bloody Click here to Send Bloody a Private Message Find more posts by Bloody Add Bloody to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
khelidan
.grande:maestro.

User info:
Registered: Jun 2003
Posts: 1196 (0.14 al dì)
Location: Milano
Corso: Informatica
Anno: Finito....
Time Online: 13 Days, 12:08:03: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Bloody
compitini no, ci sono testi di appelli d'esame in area filez..
ci sarà un'altra esercitazione di sql questa settimana :D


Non si sa il giorno preciso?

__________________
Khelidan

01-11-2004 18:25
Click Here to See the Profile for khelidan Click here to Send khelidan a Private Message Find more posts by khelidan Add khelidan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gusher
Splinter fun club

User info:
Registered: Jan 2003
Posts: 475 (0.06 al dì)
Location: Ovunque
Corso: Informatica
Anno: Done
Time Online: 15 Days, 22:06:15 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by khelidan
Non si sa il giorno preciso?


Domani, martedì 2 Nov.

01-11-2004 19:08
Click Here to See the Profile for Gusher Click Here to See the Blog of Gusher Click here to Send Gusher a Private Message Find more posts by Gusher Add Gusher to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Ariok
.arcimaestro.

User info:
Registered: Oct 2003
Posts: 394 (0.05 al dì)
Location: milano
Corso: informatica
Anno: Finita....la triennale :D
Time Online: 2 Days, 4:43:21 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Question Aiuto mysql

Ciao ! io ho scaricato mysql database server versione 4.1
MA ho dei piccoli problemi.... premetto che lancio il programma in questo modo :

c:>mysql\bin\ mysql -uroot

i problemi che fino ad ora ho riscontrato sono questi....

- Pur eseguendo query correte (prese pari pari dalle slide) non riesco a completare la funzione intersect ,compare un errore di sintassi.....

-Stessa cosa per la CREATE VIEW

ecco le querry
------------------------------INTERSECT------------------------------------
SELECT persona.id, persona.nome, persona.cognome,
ruolo.nome AS ruolo
FROM persona LEFT JOIN ruolo ON
persona.ruolo = ruolo.id INNER JOIN appartenenza ON
persona.id = appartenenza.id_persona INNER JOIN
gruppo ON appartenenza.id_gruppo = gruppo.id
WHERE (gruppo.nome = 'laboratorio')
INTERSECT
(SELECT persona.id, persona.nome, persona.cognome,
ruolo.nome AS ruolo
FROM persona LEFT JOIN ruolo ON
persona.ruolo = ruolo.id INNER JOIN appartenenza ON
persona.id = appartenenza.id_persona INNER JOIN
gruppo ON appartenenza.id_gruppo = gruppo.id
WHERE (gruppo.nome = 'progetto H'));
----------------------------------------------------------------------------------
--------------------------------------VISTA-------------------------------------
CREATE VIEW contagruppi AS
SELECT persona.id,
COUNT(appartenenza.id_gruppo) AS numerogruppi
FROM persona LEFT JOIN appartenenza
ON persona.id = appartenenza.id_persona
GROUP BY persona.id;
-----------------------------------------------------------------------------------
Naturalmente ho prima creato il database con le tabelle corrette..
e comunque a parte questi due errori diciamo che il tutto funziona correttamente.
Sapreste darmi una mano ....?? perche' questi errori????

__________________
My deviant art Page(maya & 3dstudio)

Vecchio Robot in Xsi
Altro Robot.. in costruzione

MSN yariok@msn.com

Last edited by Ariok on 03-11-2004 at 18:05

03-11-2004 18:02
Click Here to See the Profile for Ariok Click here to Send Ariok a Private Message Visit Ariok's homepage! Find more posts by Ariok Add Ariok to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DeepBlue
tired guy

User info:
Registered: Sep 2003
Posts: 4258 (0.52 al dì)
Location: CSN
Corso: Info tlc
Anno:
Time Online: 52 Days, 8:40:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

MySQL non supporta query annidate e che sappia io non esiste il comando INTERSECT.

Per maggiori informazioni: www.mysql.org oppure scrivi alla Castano.

Per la sintassi MySQL di CREATE VIEW dai un'occhiata qui: http://dev.mysql.com/doc/mysql/en/CREATE_VIEW.html

__________________
~ get Debian! ~ get FreeBSD! ~ get OpenBSD! ~

03-11-2004 18:12
Click Here to See the Profile for DeepBlue Click Here to See the Blog of DeepBlue Click here to Send DeepBlue a Private Message Find more posts by DeepBlue Add DeepBlue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Ariok
.arcimaestro.

User info:
Registered: Oct 2003
Posts: 394 (0.05 al dì)
Location: milano
Corso: informatica
Anno: Finita....la triennale :D
Time Online: 2 Days, 4:43:21 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

quindi le sintassi degli esercizi che abbiamo visto a lezione.... si possono usare solo con postgre ?

grazie mille per il link ora guardo!

__________________
My deviant art Page(maya & 3dstudio)

Vecchio Robot in Xsi
Altro Robot.. in costruzione

MSN yariok@msn.com

03-11-2004 18:22
Click Here to See the Profile for Ariok Click here to Send Ariok a Private Message Visit Ariok's homepage! Find more posts by Ariok Add Ariok to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ale82info
.grande:maestro.

User info:
Registered: Dec 2003
Posts: 2538 (0.31 al dì)
Location:
Corso: Informatica
Anno:
Time Online: 17 Days, 13:20:35 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

DAL SITO...
TUTTI e SOLI gli studenti che appaiono negli elenchi delle 3 aule sono ammessi a sostenere la 1 prova in itinere. Ogni studente è pregato di verificare in quale aula sosterrà la prova, controllando la presenza del proprio nominativo nel corrispondente file. Il giorno 6 novembre gli studenti sono pregati di attendere fuori dall'aula loro assegnata.
http://islab.dico.unimi.it/basi/materiale/Aula200.pdf
http://islab.dico.unimi.it/basi/materiale/Aula208.pdf
http://islab.dico.unimi.it/basi/materiale/Aula405.pdf

03-11-2004 18:59
Click Here to See the Profile for ale82info Click Here to See the Blog of ale82info Click here to Send ale82info a Private Message Find more posts by ale82info Add ale82info to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
loreste
.grande:maestro.

User info:
Registered: Jan 2003
Posts: 730 (0.09 al dì)
Location: Berghem
Corso: Informatica
Anno: -2 alla specialistica
Time Online: 8 Days, 5:47:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Ariok
quindi le sintassi degli esercizi che abbiamo visto a lezione.... si possono usare solo con postgre ?

grazie mille per il link ora guardo!


Se scarichi MySql5 (anche se è una versione beta) dovrebbe sopportare qualcosa in più, anche se non so se ora supporta INTERSECT.
Ho letto che gestisce stored procedure, trigger (base) e viste.

__________________
La Fede non retrocede mai!
Döma Atalanta!!!!!!!!

03-11-2004 19:08
Click Here to See the Profile for loreste Click here to Send loreste a Private Message Find more posts by loreste Add loreste to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DeepBlue
tired guy

User info:
Registered: Sep 2003
Posts: 4258 (0.52 al dì)
Location: CSN
Corso: Info tlc
Anno:
Time Online: 52 Days, 8:40:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

INTERSECT non è supportata nella versione attuale di MySQL (4.1, non so se nella 5 Alpha è implementato)
Sul sito c'è scritto che verrà implementato in un futuro prossimo:

http://dev.mysql.com/doc/mysql/en/TODO_sometime.html

__________________
~ get Debian! ~ get FreeBSD! ~ get OpenBSD! ~

03-11-2004 19:14
Click Here to See the Profile for DeepBlue Click Here to See the Blog of DeepBlue Click here to Send DeepBlue a Private Message Find more posts by DeepBlue Add DeepBlue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Ariok
.arcimaestro.

User info:
Registered: Oct 2003
Posts: 394 (0.05 al dì)
Location: milano
Corso: informatica
Anno: Finita....la triennale :D
Time Online: 2 Days, 4:43:21 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ok grazie mille! ho risolto creando due viste , una per appartenenza a laboratorio e uan a progetto h ... e poi facendo un where vista1.id=vista2.id( piu' o meno ci siamo capiti :P)
ma che palle!!! e' cosi' comodo l'intersect!!!

__________________
My deviant art Page(maya & 3dstudio)

Vecchio Robot in Xsi
Altro Robot.. in costruzione

MSN yariok@msn.com

03-11-2004 20:57
Click Here to See the Profile for Ariok Click here to Send Ariok a Private Message Visit Ariok's homepage! Find more posts by Ariok Add Ariok to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DeepBlue
tired guy

User info:
Registered: Sep 2003
Posts: 4258 (0.52 al dì)
Location: CSN
Corso: Info tlc
Anno:
Time Online: 52 Days, 8:40:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

eheh lo so, anche le query annidate sarebbero comode :)

__________________
~ get Debian! ~ get FreeBSD! ~ get OpenBSD! ~

03-11-2004 21:23
Click Here to See the Profile for DeepBlue Click Here to See the Blog of DeepBlue Click here to Send DeepBlue a Private Message Find more posts by DeepBlue Add DeepBlue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
loreste
.grande:maestro.

User info:
Registered: Jan 2003
Posts: 730 (0.09 al dì)
Location: Berghem
Corso: Informatica
Anno: -2 alla specialistica
Time Online: 8 Days, 5:47:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Avevo scelto MySql perche potevo usarlo sia per win che sotto linux (dove ho poca esperienza, ma voglio imparare ad usarlo) perchè è di facile utilizzo, però a questo punto mi viene voglia di buttarlo nel cesso, perchè non so cosa farmene di un DBMS che non accetta comandi Standard.
Domanda quale dbms esiste che accetti TUTTI i comandi standard da poter usare anche sotto linux (e di facile installazione)
Grazie a tutti

__________________
La Fede non retrocede mai!
Döma Atalanta!!!!!!!!

04-11-2004 07:17
Click Here to See the Profile for loreste Click here to Send loreste a Private Message Find more posts by loreste Add loreste to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
casper
.grande:maestro.

User info:
Registered: Jan 2003
Posts: 510 (0.06 al dì)
Location: Terra (forse...)
Corso: Informatica
Anno: Laureato
Time Online: 5 Days, 14:45:28 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

io non avendo mai usato nessun DBMS, ho iniziato con mysql che poi ho abbandonato quasi subito per via delle query nidificate e della mancanza di viste...
ho adottato la scelta postgres, e mi trovo benissimo...lo sto usando sotto linux (esattamente installato su una fedora 2) però ho un amico che lo usa anche in windows con la prerogativa cigwin...anche a lui non da problemi !
:ciao:

__________________
...una parte della nostra mente è come un grande register file...i flip-flop master slave alimentati da un clock infallibile (le forti emozioni) memorizzano lo stato dei ricordi.....
...peccato che questo clock molte volte è incontrollabile...


My Blog ->http://yuriweb.wordpress.com

04-11-2004 07:36
Click Here to See the Profile for casper Click Here to See the Blog of casper Click here to Send casper a Private Message Find more posts by casper Add casper to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Gusher
Splinter fun club

User info:
Registered: Jan 2003
Posts: 475 (0.06 al dì)
Location: Ovunque
Corso: Informatica
Anno: Done
Time Online: 15 Days, 22:06:15 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by loreste
Avevo scelto MySql perche potevo usarlo sia per win che sotto linux (dove ho poca esperienza, ma voglio imparare ad usarlo) perchè è di facile utilizzo, però a questo punto mi viene voglia di buttarlo nel cesso, perchè non so cosa farmene di un DBMS che non accetta comandi Standard.
Domanda quale dbms esiste che accetti TUTTI i comandi standard da poter usare anche sotto linux (e di facile installazione)
Grazie a tutti


Se il problema è INTERSECT, puoi usare IN e NOT IN per fare Sottrazioni e Intersezioni... con il medesimo risultato.

Leggi qui

04-11-2004 07:39
Click Here to See the Profile for Gusher Click Here to See the Blog of Gusher Click here to Send Gusher a Private Message Find more posts by Gusher Add Gusher to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 08:56.    Post New Thread    Post A Reply
Pages (24): « First ... « 3 4 5 6 [7] 8 9 10 11 » ... Last »   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.167 seconds (32.87% PHP - 67.13% MySQL) con 24 query.