select t.* from repeat t where id in (1,2);
in相当于or ,适合多选的时候
select t.* from repeat t where name in ('s','e');
2、in的用法
猜你喜欢
转载自onway417.iteye.com/blog/2192245
今日推荐
周排行