Error!
MySQL Error: Unknown column 'beta.rodpub.com' in 'where clause'
SQL Statement: SELECT count(*) as total_records FROM contents JOIN content_types on contents.content_type_id = content_types.id WHERE contents.id != beta.rodpub.com and content_type_id=2486 and published=1 and date(publish_date) <= '2013-05-25' and magazine_id=7