SQL list of things LIKE -


this question has answer here:

instead of doing query in sql such as:

select quartersection label 'ne%' or label 'sw%' 

is there anyway, can query group values label in ('ne%', 'sw%')?

you can create temp table , put values there, use join

create table tempkeywordsearch (   keyword varchar(20) );  insert tempkeywordsearch  values ('ne%'), ('sw%');  select q.*  quartersection q  join tempkeywordsearch t on (q.col t.keyword); 

Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

datatable - Matlab struct computations -