Professional Documents
Culture Documents
TH C Hành Bu I 5
TH C Hành Bu I 5
select idloai
from may
--cau2
select tenpm
from phanmem
--cau3
--cau4
where phong.MP = may.MP and (idloai = 'UNIX' or idloai = 'PCWS') and may.ip='130.120.80'
order by MP;
--cau5
select count(*)
from Caidat
where idmay='p6';
--cau6
select count(*)
from Caidat
where idPM='log1';
--cau7
select IP || '.' || ad AS new_value
from may
-- cau8
select avg(gia)
from phanmem
where idloai='UNIX';
--cau9
select tenphong
where may.idmay = caidat.idmay and phanmem.idpm = caidat.idpm and Phong.MP = may.MP and phanmem.tenPM
like 'Oracle%';
--cau10
select tenPM
where Phong.MP = may.MP and may.idMay = Caidat.idMay and Phanmem.idPM = Caidat.idPM and tenphong = 'Salle
1';
--cau11
from Phanmem
-- cau 12