0
DELETE ownertbl.*, motorcycletbl.*, transactiontbl.*  
from (ownertbl 
INNER JOIN motorcycletbl on ownertbl.plate_no = motorcycletbl.plate_no) 
INNER JOIN transactiontbl on motorcycletbl.plate_no = transactiontbl.plate_no , (ownertbl 
INNER JOIN motorcycletbl on ownertbl.body_no = motorcycletbl.body_no) INNER JOIN transactiontbl on motorcycletbl.body_no = transactiontbl.body_no 
WHERE ownertbl.plate_no = 'ABB1234' or ownertbl.body_no= 'T-0000'
4

0 回答 0