±í create table tbl(id int, num int); ÈçºÎÓÃÒ»ÌõsqlÓï¾ä¼ÆËã³öËùÓÐnum>100µÄ¼Ç¼ÊýÓënum <100µÄ¼Ç¼ÊýµÄ±ÈÖµ£¿select (select count(*) from tbl where num>100) / (select count(*) from tbl where num <100);
select count(1) from FX_RETURNBOOKCHECKLIST fxreturnbo0_ where fxreturnbo0_.BOOKID='164 ' AND fxreturnbo0_.RETURNID='00025.S0000001' ÉÏÃæÒ»¸ö¼òµ¥µÄSQL,Ö´ÐÐʱ¼ä2.6à ......