I have a query that returns a few columns and some information. I want to hardcode a list, and have each row returned each value from my list.
So, currently my SELECT
is returning, for example,
ID Name Value
1 Mike 404
2 John 404
And lets say, for example, I wish to add a column to my SELECT
so that a managers name is also returned with each row. So I have a set of managers, which I want to write myself into the SELECT statement(i.e these are not returned from any external source, I want to hardcode them into my SELECT
) : {'Steve', 'Bill'}. What I now want returned is :
ID Name Value Manager
1 Mike 404 Steve
2 John 404 Steve
1 Mike 404 Bill
2 John 404 Bill
Is it possible to do this? If so, how? :)
Thanks a lot.