MySQL Forums
Forum List  »  Italian

Non riesco a trovare una soluzione
Posted by: valentina asta
Date: September 14, 2014 07:10AM

Salve, ho un database composto da queste due tabelle:
dipendente {
matricola(unique),
cognome,
nome,
ruolo(1:primario,2:medico,3:infermiere),
email,
username(unique),
password(max 8 char)
}
ricovero {
id,
id_paziente,
causa,
data_ricovero(YYYY-mm-dd HH:MM:SS),
chi_ricovera,
data_dimissione(YYYY-mm-dd HH:MM:SS),
chi_dimette
}

vorrei creare una query per visualizzare id ricovero, causa, data ricovero, nome e cognome di chi ricovera, data dimissione, nome e cognome di chi dimette. potete darmi una mano?

Options: ReplyQuote


Subject
Views
Written By
Posted
Non riesco a trovare una soluzione
1613
September 14, 2014 07:10AM


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.