Can't execute query

		SELECT m.msgid FROM messages as m WHERE m.sdate <= '2019-08-21' AND m.edate >= '2019-08-21' and m.cat_id != '7'  and m.cat_id=17〈=S
		

MySQL Error: Unknown column '17〈' in 'where clause'

This script cannot continue, terminating.