Basically I want something as easy as
WHERE something LIKE ('too%', '%noo%', 'sooo%')
instead of
WHERE something LIKE 'too%'
OR something LIKE '%noo%'
OR something LIKE 'sooo%'
Is there any possible way to combine these two things without writing complicated sub-selects?
There is no combination of LIKE & IN in SQL, but you can use REGEXP_LIKE condition it’s similar LIKE condition, except REGEXP_LIKE performs regular expression matching instead of the simple pattern matching performed by LIKE. Also this condition evaluates strings using characters as defined by input character set.
Example 1 :
First Name
Walker, Mr. Kenneth (Ken)
Example 2 :
FIRST_NAME
Steven
Stephen
Example 3 :
LAST_NAME
De Haan
Greene
Bloom
Feeney