select * from gdc_cat_niveaus where nivId=37,1,36,21,28,27,20,26,23,25,11,

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 '1,36,21,28,27,20,26,23,25,11,' at line 1