我有这个
ads
ad_id ad_path ad_explain date
1 1.jpg something 2012 03:35:10 PM
2 2.jpg something 2012 03:05:27 PM
books
book_id book_name date
1 first 2012 03:45:27 PM
2 second 2012 03:10:27 PM
我希望从这两个表中获取所有数据并按日期对它们进行排序,例如:
book_id book_name ad_id ad_path ad_explain date
2 2.jpg something 2012 03:05:27 PM
2 second 2012 03:10:27 PM
1 1.jpg something 2012 03:35:10 PM
1 first 2012 03:45:27 PM