select * from 表1 where id in (select id from 表2 where id like '201%');看你上面写的子查询是查询出来的是表2所有ID为201%这样的格式的所有信息! 你把*换成id 才是查询表2中id为'201%'的id吧!
in( select id from 表2) 这样就可以了。。不要用*