共有先: -----解決策--------- SELECT * FROM tbl_name WHERE FROM_UNIXTIME( Reg_addtime 、'%Y-%m-%d') BETWEEN '2013-05-01' AND '2013-05-10' ------解決策------- ----------- は次のようにすることもできます:
select * from order where timestamp between UNIX_TIMESTAMP('2013-05-01 00:00:00') and UNIX_TIMESTAMP('2013-05-10 00:00:00');