hi friends,
I have a table A
col as
status|NUM
and value as
open |1
open |2
close |3
close |3
the O/P should be
open|close
1 |3
2 |4
Answer Posted / ajit
select decode ( status, 'open', num ) open,
decode ( status, 'close', num ) close
from A;
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
How much memory your 10g xe server is using?
How i can handle exception in large code like 1000 line without distrubing the code or without exception handler sction?
What is the maximum limit on the number of columns in a table?
What are a collation and state the different types of collation sensitivity?
How to retrieve data from an cursor to a record?
What is recovery manager in Oracle?
Hi this srilatha. I comlpeted my Oracle-hrms. can u provide me interview questions on Core hr, payroll,sshr,OLM etc..
How to get last row id?
What is the difference between a hot backup and a cold backup in oracle?
How to connect asp pages to oracle servers?
What operating systems are supported by oracle database 10g xe?
Explain an extent?
What is the oracle implicit cursor?
Whether any commands are used for months calculation? If so, what are they?
Differentiate between post-database commit and post-form commit?