I want to write one query
How to get Matched records and unmatched records in table?

Answers were Sorted based on User's Feedback



I want to write one query How to get Matched records and unmatched records in table?..

Answer / mohan

full outer join can be used to get both unmatched and
matched records..

Is This Answer Correct ?    5 Yes 0 No

I want to write one query How to get Matched records and unmatched records in table?..

Answer / vimal

We can use minus query and intersect query

unmatched: records in a but not in b
select *
from a
minus
select *
from b ;

matched: recrods in a and in b
select *
from a
intersect
select *
from b ;

Is This Answer Correct ?    4 Yes 1 No

I want to write one query How to get Matched records and unmatched records in table?..

Answer / gowthami

i think..By using joins we can get required records.based on
your requirements we should choose left outer join or right
outer join

Is This Answer Correct ?    1 Yes 2 No

I want to write one query How to get Matched records and unmatched records in table?..

Answer / gowthami

i think..By using joins we can get required records.based on
your requirements we should choose left outer join or right
outer join

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Teradata Interview Questions

There is a load to the Table every one hour and 24/7.Morning trafic is high, afternoon trafiic is less, Night trafiic is high.According to this situation which Utility you use and how do you load,which utility used?

4 Answers   IBM,


What is the meaning of Caching in Teradata?

0 Answers  


What do high confidence, low confidence and no confidence mean in explain plan?

0 Answers  


What is the multi-insert?

0 Answers  


What are default access rights in teradata? What explicit right can be given to a user?

0 Answers  


Find 2 highest sal from each dept who have completed 5 year in org

0 Answers   Wipro,


What is spool space? Why do you get spool space errors?

0 Answers  


What is the use of having index's on table?

1 Answers  


If the script is aborted. why it is aborted and how can you identify ?

1 Answers  


What is a pseudo key? What is its use???

2 Answers   Mphasis,


Why does varchar occupy 2 extra bytes?

0 Answers  


how many modules are there in telecome domain?how to explain the architecture?

0 Answers  


Categories