select * from TableName where Name like '[A-Z]%'
and Name not in (Select Name from TableName where Name Like '[ABC-ABQ]%'or Name Like 'B%'
or Name Like 'EE%')
select * into #table_tmp from table where name like '[A-Z]%'
seledt * from #table_tmp where (Name not like 'AB[C-Q]*') and (Name not like 'B%') and (Name not like 'EE%')
drop table #table_tmp