Is there a way to perform a select and return a static list? Something like the following:
select * from ('CA', 'FB', 'FC')
It should return
CA
FB
FC
Is there a way to perform a select and return a static list? Something like the following:
select * from ('CA', 'FB', 'FC')
It should return
CA
FB
FC
If you want each value on a separate row, you can use table constructor values():
select val
from (values ('CA'), ('FB'), ('FC')) as t(val)