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
How to call a sub procedure?
Is a rollback possible to any savepoint?
11. Display the client number and name and the client number and name of the person who referred that client.
what's query optimization and without use of IN AND Exist can we get another way data from query
How do I reset a sequence in oracle?
What is a subquery in oracle?
Does oracle database need java?
Is oracle a language?
How to revoke create session privilege from a user in oracle?
Can a parameter be passed to a cursor?
What are the execution control statements in oracle?
What are dml statements in oracle?
What are the different types of failures that occur in Oracle database?
How to check your oracle database 10g xe installation?
Explain the use of grant option in imp command.