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 dynamic SGA and static SGA
What are a cluster and non-cluster index?
What is format trigger?
Iam learning oracle developer 2000.. can anyone give me then tutorials sites or PDF related to developer 2000 please send me the details @ mak2786@gmail.com thanks Arun
How to assign a table row to a record variable?
Explain the characteristics of oracle dba?
What is bulk copy or bcp in oracle?
From the following identify the non schema object: packages, triggers, public synonyms, tables and indexes.
Provide an example of a shell script which logs into SQLPLUS as SYS, determines the current date, changes the date format to include minutes & seconds, issues a drop table command, displays the date again, and finally exits.
How to get a list of all user accounts in the database?
Explain the use of rows option in exp command.
What are the attributes of the cursor?
How to use in conditions in oracle?
What suggestions do you have to reduce the network traffic?
What are triggers in oracle?