I have a table like this
Table Name:Products
Productid Price
1 10
1 10
2 20
3 30
3 30
But i want to output like this.
productid price
2 20.
please replay me.
Answers were Sorted based on User's Feedback
Answer / venkataselvaraj@gmail.com
SELECT PRODUCT_ID, PRICE FROM PRODUCTS
GROUP BY PRODUCT_ID, PRICE
HAVING COUNT(*) = 1;
Is This Answer Correct ? | 0 Yes | 0 No |
How to define an oracle cursor variable?
Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?
query to find the maximum no persons with same age(age colomn) from emp table
What privilege is needed for a user to connect to oracle server?
What is coalesce function?
what are archived logs?
How to compare dates in oracle sql?
Can I create users through internet explorer in oracle 10g?
Is the After report trigger fired if the report execution fails ?
How many types of table in Oracle?
Where are the settings stored for each instance in oracle?
How to sort the query output in oracle?