select count(*)from record where date >′19991201′and date <′19991214′and amount >2000(25秒)select date,sum(amount)from record groupby date
(55秒)select count(*)from record where date >′19990901′and place in(′BJ′,′SH′)(27秒)
select count(*)from record where date >′19991201′and date <′19991214′and amount >2000(14秒)select date,sum(amount)from record groupby date
(28秒)select count(*)from record where date >′19990901′and place in(′BJ′,′SH′)(14秒)
select count(*)from record where date >′19991201′and date <′19991214′and amount >2000(26秒)select date,sum(amount)from record groupby date
(27秒)select count(*)from record where date >′19990901′and place in(′BJ,′SH′)(<1秒)
select count(*)from record where date >′19991201′and date <′19991214′and amount >2000(<1秒)select date,sum(amount)from record groupby date
(11秒)select count(*)from record where date >′19990901′and place in(′BJ′,′SH′)(<1秒)
select*from record where
substring(card_no,1,4)=′5378′(13秒)select*from record where
amount/30<1000(11秒)select*from record where
convert(char(10),date,112)=′19991201′(10秒)