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 retrieve only duplicate values in a table

Answer Posted / akki julak

FOR EXAMPLE WE HAD TAKE EMP TABLE AND ENAME,EMPNO AS COLUMNS

SELECT EMPNO,ENAME
FROM EMP
WHERE ROWID NOT IN(SELECT MAX(ROWID) FROM EMP
GROUP BY EMPNO,ENAME);


by
AKKI JULAKANTI

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you selectively load only those records that you need? : aql loader

1092


What is the difference between count 1 and count (*) in a sql query?

1052


Can we use delete in merge statement?

1098


What is procedure function?

1122


How many sql statements are used?

1070


Is it possible for a table to have more than one foreign key?

1080


What is difference between group by and partition by?

1128


What are tables and fields in the database?

1188


How do I clear the screen in sql plus?

1086


What is a temp table?

1072


What is difference between nchar and nvarchar?

1100


what is the difference between group by and order by in sql? : Sql dba

1185


How you can copy a file to file content and file to pl/sql table in advance pl/sql?

1184


When you have to use a default "rollback to" savepoint of plvlog?

1250


Is sql considered coding?

1088