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 have table-A(1,2,3,4,4,5,6,6,6,7).
how to get all duplicate values?what is sql query?

Answer Posted / nathan

SELECT sal,rn
FROM (SELECT ROW_NUMBER () OVER (PARTITION BY sal ORDER BY
empno DESC) rn,
sal
FROM emp)
WHERE rn > 1;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Select all the employees who were hired in last 2 years and who works in dept where max managers are working.

2917


What is a package in oracle?

1060


6. Display the client name and order date for all orders using the traditional method.

2267


How we can able to import our own template (users designed MS-Word templates) which has many tabular columns; need to pass some values generate by Oracle-reports9i? Actually need to import more than 400 MS-Word templates into Oracle Reports-9i to minimize layout design in Reports.

2110


What is system tablespace?

1061


Please explain oracle left join with an example?

993


Which dictionary view(s) would you first look at to understand or get a high-level idea of a given Advanced Replication environment?

1846


What is the difference between postgresql and oracle?

1002


What are the data types in oracle?

997


What is the difference between a user and a schema in oracle?

1006


What is blob data type in oracle?

1063


How can we find out the current date and time in oracle?

1060


Assuming that you are an End User How to find that in the payment Batch some of the Invoice was  Missing To pay How to find That??

1692


How to store only time; not date and time?

982


Can sub procedure/function be called recursively?

964