MySQL Query : SELECT COUNT(*) as count FROM (select * from fnc_activity as t,fnc_activity_data as td where t.id=td.id and endtime< now() and catid=95) T MySQL Error : Duplicate column name 'id' MySQL Errno : 1060 Message : Duplicate column name 'id' Need Help?