id是数字String sql="select * from wupin where id="+i+“”;id 是字符String sql="select * from wupin where id='"+i+“' ";