Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9730

Re: How to see a combine query results

$
0
0

Hi John,

 

Your query should be like:

 

select year, column2,.... , column n

from

table1

where

year=2000

UNION

select year, column2,.... , column n

from

table2

where

year=2001

 

Check if it is the case.

 

Regards,

Yuvraj


Viewing all articles
Browse latest Browse all 9730


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>