Error!

MySQL Error: Unknown column 'mpo' in 'where clause'
SQL Statement: SELECT count(*) as total_records FROM contents JOIN content_types on contents.content_type_id = content_types.id join service_releases on contents.id= service_releases.id WHERE contents.id != mpo-mag.com and content_type_id=2719 and published=1 and date(publish_date) <= '2014-07-24' and magazine_id=5