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
Explain the use of full option in exp command.
Explain the use of inctype option in exp command.
How can Oracle users be audited?
How i can handle exception in large code like 1000 line without distrubing the code or without exception handler sction?
> CREATE OR REPLACE FUNCTION FACTORIAL_1(factstr varchar2 ) 2 RETURN NUMBER AS 3 new_str VARCHAR2(4000) := factstr||'*' ; 4 fact number := 1 ; 5 BEGIN 6 7 WHILE new_str IS NOT NULL 8 LOOP 9 fact := fact * TO_NUMBER(SUBSTR(new_str,1,INSTR(new_str,'*')-1)); 10 new_str := substr( new_str,INSTR(new_str,'*')+1); 11 END LOOP; 12 13 RETURN fact; 14 15 END; explanation Above program?
Why do we use coalesce function in oracle?
what is the difference between restoring and recovering?
What is the difference between postgresql and oracle?
How to synchronize 2 schema's objects?
How can we find out the current date and time in oracle?
How to use "while" statements in oracle?
Can we call procedure inside function in oracle?
What is an oracle tablespace?
Hi friends can u send the oracle 9i full version download link?????????????? please reply ?
Explain the use of owner option in exp command.