ex. one table is having 1 column with 10 records ,
then how to display all the values in row wise ?
Answer Posted / vipul
column can be convert in row by using PIVOT function in ORACLE
for eg:
SELECT * FROM(SELECT VMENUNAME,NMENUNO FROM MENU_MASTER) A
PIVOT(MAX(VMENUNAME) FOR NMENUNO IN (6,7,8,9,10,11,1)) PVT
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Differentiate between function and procedure in oracle.
why should i declare foreign key constraint as self relation instead of binary relation in tables ?
How to export your connection information to a file?
Can we create database in oracle using command line ?
Hi Can any one tell me what are the API's used in requisition import.
How to retrieve data from an explicit cursor?
WHAT IS ecc 6.0
HI ALL, CAN ANYONE TELL ME THE DIFFERENCES BETWEEN SQL CLUSTURS,MSQL CLUSTERS,ORACLE CLUSTERS.......THANKS IN ADVANCE
what is difference between sql plus and sql*plus? (not sql and sql plus).
Explain about functional dependency and its relation with table design?
How will you identify oracle database software release?
What is where clause in oracle?
How to write numeric literals in oracle?
What is define in oracle?
How to declare a local variable?