MySQL Forums
Forum List  »  Italian

unire 2 tabelle diverse
Posted by: marco pilolli
Date: March 25, 2009 07:39AM

ciao
sto cercando di capire come unire due tabelle
per creare una stampa e non usare il subreport

diciamo ho la tabella 1:
id
prodotto
descrizione

tabella 2:
id_riferito_alla_tabella1
caratteristiche

e vorrei che la query ritorni una cosa tipo:
id prodotto descrizione caratteristiche
1 prod1 desc1
1 prod1 desc1 caratteristiche1.1
1 prod1 desc1 caratteristiche1.2
1 prod1 desc1 caratteristiche1.3
2 prod 2 desc2
2 prod 2 desc2 caratteristiche 2.1
2 prod 2 desc2 caratteristiche 2.2
2 prod 2 desc2 caratteristiche 2.3

ecc...

grazie

p.s. tra l'altro vorrei fare n view di tutto questo

Options: ReplyQuote


Subject
Views
Written By
Posted
unire 2 tabelle diverse
9854
March 25, 2009 07:39AM
6439
March 27, 2009 03:32AM
4930
March 27, 2009 07:52AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.