how can I join two querys

  • Thread starter Thread starter Ajith Nair
  • Start date Start date
A

Ajith Nair

Hi,

How can i join two querys to get one set of data.

Thanks in advance

B Regards
Ajith
 
It is called a UNION query. The SQL would look like this --

SELECT Field1, Field2, Field3
FROM Table1
UNION SELECT Field1, Field2, Field3
FROM Table2;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top