1、in 后面是记录集,如:
select * from table where uname in(select uname from user);
2、in 后面是字符串,如:
select * from table where uname in('aaa',bbb','ccc','ddd','eee',ffff'');
注意:这样写是错误的select * from table where uname in('aaa,bbb,ccc,ddd,eee,ffff'),这里一定要将每个字符串用单引号'' 标注起来;