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
相關文章
相關標籤/搜索