在特定月份从SQL中选择记录

时间:2015-06-30 22:21:21

标签: php sql records

我需要从Unix时间的特定月份的表格帖子中获取,行日期是unixtime,输入到函数也是unixtime。类似的东西:

Select * from `posts` where FROM_UNIXTIME(date, month) = FROM_UNIXTIME($timestamp, month);

谢谢!

0 个答案:

没有答案
相关问题