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


How would you retrieve Unique rows from table without using UNIQUE and DISTINCT keyword?

Answers were Sorted based on User's Feedback



How would you retrieve Unique rows from table without using UNIQUE and DISTINCT keyword?..

Answer / jayanth

using union
select * from tableA
union
select * from tableB

Is This Answer Correct ?    0 Yes 0 No

How would you retrieve Unique rows from table without using UNIQUE and DISTINCT keyword?..

Answer / virendra maurya

We can simply remove duplicate from table
1. Using CTE
2. Using Group by
3. Using Rank function

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More SQL Server Interview Questions

What do you understand by check constraint in sql server?

0 Answers  


When we should use @@error?

0 Answers  


What are the diifferences between the ms sql server vs mysql?

0 Answers  


Diffrences between sql server 2000 vs 2008

0 Answers   TCS,


How to get a list of all tables with "sys.tables" view in ms sql server?

0 Answers  


What is sleeping status in sql server?

0 Answers  


What is trigger explain with program?

0 Answers  


Explain different types of Normalization.

1 Answers   HPCL, Hughes Systique Corporation, Ittiam Systems,


Is BCNF better than 2NF & 3NF? Why?

0 Answers   Akamai Technologies,


Explain what is row_number function?

0 Answers  


What is log cache in sql server?

0 Answers  


What are the advantages of using a stored procedure?

0 Answers  


Categories