Z zxqhty Unregistered / Unconfirmed GUEST, unregistred user! 2007-05-23 #21 select * from source where att_datetime>='2007-05-07 08:00:00' and att_datetime<'2007-05-07 10:00:00'
select * from source where att_datetime>='2007-05-07 08:00:00' and att_datetime<'2007-05-07 10:00:00'
步 步步高0713 Unregistered / Unconfirmed GUEST, unregistred user! 2007-06-12 #23 没搞定,不过还是要谢谢大家了!分少了些,下次多给些分!!![]
J Johnny_du Unregistered / Unconfirmed GUEST, unregistred user! 2007-06-12 #25 这样: SELECT SUM('金额') FROM 表名 WHERE 时间 BETWEEN 时间1 AND 时间2 即可!