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 grade= '初级' and pro = '北京'' at line 1select * from diqustation where years IN () AND grade= '初级' and pro = '北京'