You are on page 1of 1

hapus dari 2 tabel= delete from tabel1 where field1=(select field1 from tabel2 where field2 <> 'maka

ssar') select nama_tamu,jenis_kamar,datediff(dd,tgl_checkout,tgl_checkin) as lama,datediff(dd,tgl_checkout)*tariff from tariff inner join inap on tariff .kode_kamar=inap.Kode_kamar where tariff.kode_kamar='k002'

You might also like