SQL Server:如何使用一个查询从两个表中删除行

时间:2018-09-26 17:57:34

标签: sql-server

使用以下查询从两个表中删除时,我在','附近遇到错误

Delete a, b 
from SalesInvoice as a 
join SalesInvoiceProductsList as b on a.SalesInvoiceID = b.SalesInvoiceID      
where b.SalesInvoiceID = 7 
  and b.ProductID = 1;

0 个答案:

没有答案