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

How can we force the database to use the user specified rollback segment?

554


Explain the difference between a procedure and a function?

553


What is the database name in oracle?

530


What are the parameters that we can pass through a stored procedure?

551


What is the string concatenation operator in oracle?

566






How to select some columns from a table in oracle?

547


How many anonymous blocks can be defined?

579


How to create additional tablespaces for an new database?

566


How do I find my oracle client driver version?

522


Can we connect to ORACLE db using Windows Authentication?

716


In which language oracle has been developed?

641


What is a tns service name?

530


Is there any way to find out when one specific table/view/M-view is used last time. i.e. when one specific object is used in any SELECT statement.

856


What are the different types of failures that occur in Oracle database?

594


How to use "in" parameter properly?

617