WordPress database error: [Duplicate column name 'accessedid']
alter table mostAccessed add accessedid int not null auto_increment, drop primary key, add primary key (accessedid)

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
SELECT DISTINCT * FROM wp_posts WHERE 1=1 AND post_date_gmt <= '2008-10-07 15:05:59' AND (post_status = "publish") AND post_status != "attachment" GROUP BY wp_posts.ID ORDER BY post_date DESC LIMIT 0,