mysq
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 '1 * from viper where uname='ad' and pwd='ad'' at line 1
我的原句是这么写的rs = stmt.executeQuery("select top 1 * from viper where unname=‘" + u +"' and pwwd='"+p+"'");