mysql怎样查询当月的定单数?

1.select * from order where paytime>=UNIX_TIMESTAMP('2011-3-1') and paytime<=UNIX_TIMESTAMP('2011-3-31')函数 2.查询出当月字段: SELECT * FROM `table` WHERE month( from_unixtime(时间字段)) = month( now( ) )  and yea
相关文章
相关标签/搜索