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 / siri

select * from table name where price=20

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is partitioning? Types of partitioning. explain? what is the new kind of partitioning type introduced in 9i?

2036


Where are the settings stored for each instance in oracle?

874


How to do a full database export?

844


How many objectname will be created for a single table drop function? Why 'flashback' query giving error "ORA-38312: original name is used by an existing object" while getting the table?

2010


What is the usage of save points in oracle database?

725


What are the different editions of oracle?

819


How to set up autotrace for a user account?

785


What are the differences between date and timestamp in oracle?

778


Can we write dml statement in function in oracle?

815


How a tablespace is related to data files?

792


Why does oracle 9i treat an empty string as null?

736


How to create an initialization parameter file?

728


What is a read only transaction in oracle?

799


How to define an oracle sub procedure?

785


How to get the Installed Oracle Version Information ?

844