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...

hi,

how to match retrieve the unmatched records from 2 tables
in which we dont have any primary key. example : table1 has
1,2,3,4,5 and table2 has 1,2,3,4,5,6,7,8,9,10 and i want
the numbers from 6 to 10 to be displayed and should not
come as null. i need the numbers. please reply as soon as
possible.

Answer Posted / debi

(select * from table2)
minus
(select * from table1)

Is This Answer Correct ?    6 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an execution plan? How would you view the execution plan?

1077


According to you what goes into making the best database administrator? : sql server database administration

977


Please explain what is “asynchronous” communication in sql server service broker?

935


What is de-normalization and what are some of the examples of it?

976


How to delete multiple rows with one delete statement in ms sql server?

1024


How to check if a table is being used in sql server?

962


Does union all remove duplicates?

1062


What is the difference between primary key and unique constraints?

961


How many types of keys are there?

1030


What is self join in sql server joins?

1059


What is cached report?

143


What is the use of keyword with encryption. Create a store procedure with encryption?

960


How many primary keys are possible in a table?

925


Determine when an index is appropriate?

1076


What is the use of sign function?

1124