MySQL Query : SELECT COUNT(*) as count FROM (select a.title,a.url,a.thumb,a.catid,b.listorder,b.catid from wm_news as a JOIN wm_category as b on a.catid=b.catid where a.catid in(8,80,81,82,83,84,85,86,87,89,88) order by b.listorder ASC,inputtime DESC) T MySQL Error : Duplicate column name 'catid' MySQL Errno : 1060 Message : Duplicate column name 'catid' Need Help?