declare @tb table(
id int ,class varchar(25)
)
insert into @tb(id,class)
select 1,'1年级1班' union all
select 2,'1年级' union all
select 3,'3年级3班'
set statistics profile on
select id,class from @tb where class in ('1年级','3年级3班')
select id,class from @tb where class = '1年级' or class ='3年级3班'
select id,class from @tb where class like '%1年级' or class like '3年级3班%'