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

If the PMON is not working then how do you manage and monitor all processes, resources and sessions etc.

0 Answers  


In general, how do you optimze any sql in teradata?

0 Answers  


What are the design features involved in teradata?

0 Answers  


What are the available primary index types?

0 Answers  


What is difference between user and database in teradata?

0 Answers  






IBM QUESTION As all we know PE takes the SQL Request and it will give responce for that query. what is the internal process happening.how it is taking that sql from the system????? thanks in Advance

2 Answers   Cap Gemini, IBM, Infosys,


What do you mean by ttu in teradata?

0 Answers  


What do you mean by caching in teradata?

0 Answers  


What is the use of virtual processor connectivity in teradata?

0 Answers  


My table got locked during mload due to a failed job. What do I do to perform other operations on it?

0 Answers  


What are different table types used in teradata?

0 Answers  


any one answer me how they can analyzing the project using data ware housing?

0 Answers  


Categories