SELECT * FROM Student WHERE Prenume NOT IN ('Cristina') SELECT Nume, Prenume FROM Student WHERE Prenume IN ('Andrei', 'Cristina') SELECT Nume, Prenume FROM Student WHERE LOWER(Nume) LIKE 'b%' SELECT Nume, Prenume FROM Student WHERE LOWER(Nume) LIKE '%a' SELECT Nume, Prenume FROM Student WHERE LOWER(Nume) LIKE '%t%' OR LOWER(Nume) LIKE 't%' OR LOWER(Nume) LIKE '%t' SELECT DISTINCT Nume, Prenume FROM Student S INNER JOIN Note N ON S.CodS = N.CodS WHERE Taxa BETWEEN 20 AND 40 SELECT * FROM Student WHERE LOWER(Nume) LIKE '[a-i]%' ORDER BY Nume SELECT DISTINCT S.CodS, Nume, Prenume Data_inceput, Data_sfarsit, Situatie, Inv, Sex, Jud FROM Student S INNER JOIN Note N ON S.CodS = N.CodS WHERE N.CodS BETWEEN (SELECT MIN(CodS) FROM Note) AND (SELECT MAX(CodS) FROM Note) ORDER BY Nume SELECT DISTINCT Nume, Prenume FROM Student S INNER JOIN Note N ON S.CodS = N.CodS WHERE Nota IS NOT NULL SELECT * FROM Student WHERE UPPER(Jud) IN ('BV', 'CV', 'IS') SELECT * FROM Student WHERE UPPER(Jud) NOT IN ('BV') SELECT DISTINCT Nume, Prenume FROM Student S INNER JOIN Note N ON S.CodS = N.CodS WHERE Nota > 7 UNION SELECT DISTINCT Nume, Prenume FROM Student S INNER JOIN Note N ON S.CodS = N.CodS WHERE Nota = 5