I'm don't have much experience in writing SQL so maybe this is a fairly trivial question but right now I have a SQL query where need to do a 'like' on multiple fields, at present I do:
select *
from tableX
where col1 like '10%'
or col2 like '10%'
or col3 like '10%'
or col4 like '10%'
or col5 like '10%'
or col6 like '10%'
Is there different, that is simpler or better, way of writing the SQL?
Thanks