Append 2 querys

digs

Registered User.
Local time
Today, 15:38
Joined
Aug 16, 2004
Messages
20
I have 2 queries and would like to put them together without putting them in a table is there a way to do this.
 
Union or Union All

Select * from table1
UNION {All}
Select * from table2

However they have the same number of columns and each column has to have the same datatype.

Union will remove duplicate rows, Union All returns all rows.
 

Users who are viewing this thread

Back
Top Bottom