delete from testDBRepCats where repCatID = ? #### delete r.* from testDBRepCats r, testDBToMCQDB m, testDB t, clients c where r.repCatID = m.repCatID and m.testDigest = t.testDigest and t.clientID = c.clientID and c.drone != '$drone' #### delete r.* from testDBRepCats r, testDBToMCQDB m, testDB t, clients c where r.repCatID = m.repCatID and m.testDigest = t.testDigest and t.testDigest = ?