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

How teradata makes sure that there are no duplicate rows being inserted when its a set table?

942


hi frnds i want to learn teradata utilities and teradata dba real time. i have 1+ years of experience in teradata. so i want to go deeply in Tearada. plz let me know at my email id who r best to learn from. im lookng for a realtime guy in HYD or Banglr. Thanks in advance. Rajesh my email-id: rajeshmss87@gmail.com

2808


What are the various reporting tools in the market?

1006


What is difference between user and database in teradata?

1037


What are the primary characteristics of the Teradata.

1080


What are the different table types that are supported by teradata?

970


What is upsert statement in teradata?

1070


Name the five phases that come under MultiLoad Utility.

944


What is the function of parser component in teradata?

1049


What is logical data model?

1161


tomorrow i have interview in infosys.can someone pour any suggestions or any interview questions. thank you

782


How to select first n records in teradata?

1061


Why teradata is used?

949


Explain teradata utilities. What is multiload, fast load, tpump?

961


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

1182