A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND `tag`=0' at line 1

SELECT `category_id` FROM `urls` WHERE `url`='dlya-tortov-i-konditerskih-izdelij' AND `parent_id`= AND `tag`=0