我对此查询有疑问,它说“ Not Unique table / alias'ownertbl'”该怎么办?

时间:2019-11-17 14:58:57

标签: mysql-error-1066

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'

0 个答案:

没有答案