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
Query to retrieve record for a many to many relationship ?
How i can handle exception in large code like 1000 line without distrubing the code or without exception handler sction?
various types of hints and their usage
how can db_files > maxdatafiles since db_files is for instance and the later is for database
Can we create database in oracle using command line ?
What is save point in oracle database?
What do you understand by database schema and what does it hold?
defination of bitmap index
What is a oracle database?
How to drop an existing table in oracle?
What is the difference between post-database commit and post-form commit?
What is a user account in oracle?
What is instant client oracle?
What is the minimum client footprint required to connect c# to an oracle database?
please explain.. DB architecture ...