/* PRENOTAZIONE ESAMI: SEMPLICI */ /* Seleziona tutti gli attributi di Studente. Replica la tabella Studente */ select * from Studente; /* Seleziona gli attributi Nome e Cognome di ogni Studente. */ select Nome, Cognome from Studente; /* Seleziona l'attribuito Nome di ogni Studente...duplicati */ select Nome from Studente; /* Seleziona l'attribuito Nome di ogni Studente, eliminando i duplicati. */ select distinct Nome from Studente; /* Seleziona gli attributi Nome e Cognome di ogni Studente, ridenominando gli attributi nella tabella prodotta. */ select Nome as Nome_Studente, Cognome as Cognome_Studente from Studente; /* Seleziona gli attributi Nome e Cognome di ogni Studente, creando un alias per Studente, e specificando per esteso il nome degli attributi, tramite l'alias. */ select S.Nome, S.Cognome from Studente S; /* Seleziona gli attributi Nome e Cognome di ogni Studente. Il nome degli attributi e` fornito per esteso, usando un'alias, creato per la tabella Studente. */ select S.Nome as Nome_Studente, S.Cognome as Cognome_Studente from Studente S;