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.
Answer Posted / 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 |
Post New Answer View All Answers
What is open database communication (odbc) in oracle?
How to start an oracle instance?
How to write text literals in oracle?
How to do a full database export?
What privilege is needed for a user to query tables in another schema?
How can I combine multiple rows into a comma-delimited list in oracle?
How to write a query with a right outer join in oracle?
What is the difference between 10g OEM and 11g OEM?
What are the different windows events activated at runtime ?
How to speed up webrick?
What is transaction control statement and how many types of transaction control statement in Oracle?
What are operators in oracle?
How do we create privileges in oracle?
How to run the anonymous block again?
What is a snapshot in oracle database?