Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What do you mean by tpt in teradata?

1021


What are the components used in smp and massively parallel processing (mpp) machines?

1058


What is stored procedure in teradata?

1033


What is teradata? Also, list out some of the primary characteristics of teradata.

1061


What are the functions of a teradata dba?

1078


Difference between multiload and tpump?

1115


What are the string manipulation operators and functions associated with teradata?

1097


Is multi insert ansi standard?

2212


What is the use of teradata system software?

1040


Which is faster fastload or multiload?

1119


Different phases of multiload?

1020


In Teradata, what is the significance of UPSERT command?

1234


How to find duplicates in a table?

1219


What are the 5 phases in a multiload utility?

1036


Is it necessary to add? Quit statement after a bteq query when I am calling it in a unix environment?

1243