select name from tb_typelayer where parentId= and id= ### 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 id=' at line 1
:
select * from tb_typelayer where parentId= and id not in () ### 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 id not in ()' at line 1