1064
select distinct c20 as brand_name,c01 as department_name,c12 as company_name,c15 as product_type, c30 as link from filemaker where and c22='non' order by c20,c01,c12,c15
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 c22='non' order by c20,c01,c12,c15' at line 1