Berikut ini contoh query untuk mencari data yang tidak ada di master tapi ada di tabel detail: select vidunitinvoice from tbl_mstcustomer where not exists ( select Vidpos from tbl_mstkodepos where Vidpos = tbl_mstcustomer.Vidpos ) ket: tbl_mstcustomer = tabel yang ada FK tbl_mstkodepos = tabel yang ada PK