2016-01-20 47 views

回答

0

假设您的时间戳格式化正确created_at你也许可以做这样的事情

select * from books where published_at > created_at and published_at < DATE_ADD(created_at,INTERVAL 2 WEEK) 
+0

对您有帮助? – plhyhc