问题: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 'limit='???í?±'' at line 1
String sql = "select * from Admin where name ='"
+ nametxt.getText() + "' and password ='"
+ passtxt.getText() + "' and limit='"+ limitjcb.getSelectedItem().toString() +"'";
我用这个查询就出现这个问题,估计语法错误了,但是不知道是错在哪 用ACCESS就可以