SQL - Combining multiple like queries
You can use SIMILAR TO
and separate the tags with | pipe '555123%|555321%|555987%'
eg:
SELECT *
FROM phonenumbers
WHERE number SIMILAR TO '555123%|555321%|555987%'
Late to the party, but for posterity... You can also use a ANY(array expression)
SELECT *
FROM phonenumbers
WHERE number LIKE ANY(ARRAY['555123%', '555321%', '555987%'])