I want to write one query
How to get Matched records and unmatched records in table?
Answer Posted / 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 |
Post New Answer View All Answers
What are the enhanced features in teradata v2r5 and v2r6?
If Fast Load Script fails and only the error tables are made available to you, then how will you restart?
What are the functions of a teradata dba?
What are the different methods ot loading a dimension table? A fact table etc?
What is meant by Teradata Gateway?
Why do you get spool space errors? How do trouble-shoot them?
why use references rather than pointers in the public api, particularly for arguments which are modified?
List out some of the primary characteristics of teradata.
What is called partitioned primary index (ppi)?
What is spool space? Why do you get spool space errors? How do trouble-shoot them?
what are the day to day activities of teradata DBA ?
What do you mean by tpt in teradata?
What is upsert statement in teradata?
What are the joins in teradata?
What are the various indexes in teradata? How to use them? Why are they preferred?