Possible Duplicate:
Can you define “literal” tables in SQL?
Occasionally I find myself in a situation where I'd like to join an existing table to a table of values that are entered in the query. Something like:
SELECT ((1,2,3),(4,5,6));
Where the query would return two rows of 3 columns. Obviously this syntax is not correct, but it is possible to generate a single row of data in this way. For example:
SELECT 1,2,3;
Is there actually a way to do what I'm trying to achieve?