最后是" ' "eg如果id是varchar()类型的话就是这样的"select * from book where id = ‘ " + id + " ' " egselect * from book where id = ’2‘