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 is partitioned primary index (ppi)?

997


how can we analyze the locks ?

2058


Highlight the advantages of PPI(Partition Primary Index).

1004


Define views in teradata with syntax.

1021


What is primary index and secondary index?

972


Describe primary index in teradata?

956


why use references rather than pointers in the public api, particularly for arguments which are modified?

935


What is teradata?

1056


How many types of joins are there in teradata?

910


List out teradata data types?

954


What is the difference between fastload and multiload? Which one is faster?

1140


What does Amp contain and what are all the operations that it performs?

938


What is a level of granularity of a fact table?

1069


What is the maximum number of dml can be coded in a multiload script?

1045


Highlight the differences between Primary Key and Primary Index.

1014