Invalid query: 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 'and movie_id != '5ecdf8ee32a78'' at line 1
Whole query: select DISTINCT sort_num from encode where customer_id = '67' and del_flag = 0 and encode_flag = 5 and status = 1 and cateL_id = and movie_id != '5ecdf8ee32a78'