What is a better way to write the following transact SQL?
select * from table1 where columnA like '%ABC%' and columnB = 1
select * from table1 where columnA like '%DEF%' and columnB = 1
select * from table1 where columnA like '%GHI%' and columnB = 1
is it possible to consolidate the above 3 sql statements into a single select statement
1 Answer