查询两个时间点之间的数量:
select count(*) from epass_system.game_activation where record_time between '2016-06-30 00:00:00' and '2016-07-12 00:00:00';
epass_system.game_activation 为 table
record_time 为表中的时间
查询两个时间点之间的数量:
select count(*) from epass_system.game_activation where record_time between '2016-06-30 00:00:00' and '2016-07-12 00:00:00';
epass_system.game_activation 为 table
record_time 为表中的时间