SQL code: declare @t table (id varchar(50),state varchar(50)) insert into @t select '1','1' union all select '1','1' union all select '2','1' union all select '2','0' union all select '2','1' union all select '3','1' union a
select count(1) from FX_RETURNBOOKCHECKLIST fxreturnbo0_ where fxreturnbo0_.BOOKID='164 ' AND fxreturnbo0_.RETURNID='00025.S0000001' ÉÏÃæÒ»¸ö¼òµ¥µÄSQL,Ö´ÐÐʱ¼ä2.6à ......