Ошибка запроса: 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 c_type=3 ORDER BY name' at line 1

SQL:SELECT name FROM w_brand WHERE group_id= AND c_type=3 ORDER BY name

Ошибка запроса: 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 '' at line 1

SQL:SELECT * FROM w_group WHERE id=

Ошибка запроса: 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 c_type=3' at line 1

SQL:SELECT name, id FROM w_brand WHERE group_id= AND c_type=3