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 to find out duplicate records in a table(Query)

Answer Posted / santosh

we have to use the group by with having command to get the duplicate values. this query shall show the result of only the users have duplicate values in the employee table.

Syntex:
Select columnName From Table_name
Group By columnName
Having count (*) > 1

Example:
SELECT UserID FROM employee
GROUP BY userid
HAVING count( * ) > 1

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is eexception?

1115


What is the bottom-up approach?

1126


What is compliance testing ?

1966


What the difference between latent and masked defects is?

1107


Explain compatibility testing?

1154


How much testing is enough?

1079


Which is the current formal world-wide recognized documentation standard?

1506


What is parameter?

1054


What is impact analysis? As a tester how will you do impact analysis in your project?

993


i want learn "itesting tool"....which is best institutes to learn "itesting tool" in hyderabad or banglore ?plz give me reply as soon as posible?

2058


What is what are the parameters of performance testing?

1151


What does the mclabe cyclomatic complexity of a program determine?

1116


what are all the documents needs to be submitted as a part of test closure?

1092


plz give me anybody test data expected result during prime number programe ? advance thanks

3733


What is data flow analysis?

1131