这条语句错在哪里?select case(SELECT Count(*) FROM tableA where States2 and ID 200008) (SELECT
这条语句错在哪里?
select
case(SELECT Count(*) FROM tableA where States=2
and ID = '200008') =(SELECT Count(*) FROM tableA
where ID = '200008') when 'AllOver' else 'NotAllOver' end
这条语句错在哪里?
[解决办法]
你case里=两边都是整型 when 怎么有出来字符串了
