删除语句有效但不删除行

Delete statement are working but doesn't delete rows

我想做一个删除语句,我想删除另一个选择的 table 中的一些文章。 我创建了该语句,但是当我 运行 它时,它不会删除任何内容。这是 运行ning,但没有删除任何行。

delete from article  where (client_id, art_no) in ( select art_no, client_id from art_del as A 
inner join (select distinct client_id from article) as D on a.cliend_id = d.client_id 
where label not in (0,-1));

where子句中的数据看起来不错,但是当我执行删除时它不会删除任何东西。

where 子句是这样的:

where (client_id, art_no)

所以这对有第一个 client_id 然后 art_no 但在子查询中,顺序不同:

select art_no, client_id

更改为:

delete from article  
where (client_id, art_no) in ( 
  select client_id, art_no
  from art_del as A inner join (
    select distinct client_id 
    from article
  ) as D on a.cliend_id = d.client_id 
  where label not in (0,-1)
);