Quantcast
Viewing all articles
Browse latest Browse all 10045

join columns

is it possible to join static query to existing table?

SELECT        1 AS Column1
UNION ALL
SELECT        2 AS Expr1
UNION ALL
SELECT        3 AS Expr1

join to:

SELECT Column2 FROM table

to my table that have the same result? it should be match by rows

this should be the result.

Column1 | Column2

1|1

2|2

3|3


Viewing all articles
Browse latest Browse all 10045

Trending Articles