Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

union and filter - forum topic by tclear

$
0
0

select item
 , location
 , date
 , quantity
from t1
union
select item
 , location
 , date
 , quantity
from t2
there will be cases where
item,location,date will be the same, but quantity different.
in that case, I only want to see the values from t1
how can I exclude records from t2?

Forums: 

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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