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 |
what is port in oracle? how is it related to database application.
What are transaction isolation levels supported by oracle?
What is Index Cluster ?
emp numb is unique because that is primary key,,but what is foreign key .. explain very clear with example
How to add a new column to an existing table with a default value?
How to get execution path reports on query statements?
Will you be able to store pictures in the database?
How to define Data Block size ?
What is a system tablespace and when it is created?
what is the difference between sql& oracle?
How do I know if oracle is installed on windows?
how to get count of tables in particular database in Oracle?