这是我的查询
select *
from players
where sport='football'
and position='DEF'
and pname!='Binoy Dalal'
and pname not in (select player1,player2,player3,player4,player5,player6,player7,player8
from team
where sap='60003100009')
order by price desc;
Run Code Online (Sandbox Code Playgroud)
没有该pname not in ...条款它工作正常。
我无法弄清楚什么是错误的原因在语法上它是正确的,因为 mysql 没有显示任何错误。
mysql ×1