"photo"一点也不像是sql语句,后面这么多参数,在sql语句中也没看到占位符(?)正规的sql语句应该写db.query(select photo from 表名 where id=? and name=?,“1”,"小明");