In Oracle:http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:766825833740would give you a general idea about how to implement it.
Login to rate this answer.
sarika
Answered On : May 8th, 2006
How write a SQL statement to query the result set ...
Login to rate this answer.
Ilyas
Answered On : Jul 24th, 2006
TRANSFORM Count(Roll_no) AS CountOfRoll_no
SELECT Academic_Status
FROM tbl_enr_status
GROUP BY Academic_Status
PIVOT Curnt_status;
Login to rate this answer.
Vasanth Kumar
Answered On : Oct 6th, 2006
The simplest way to implement this in SQL 2000/OracleSelect * from table1Create a temp table with No of columns = No of rows in table 1No of rows = No of columns in table 1and insert the data into the temp table using a loop logic.
Login to rate this answer.
ratnam
Answered On : Aug 3rd, 2012
How write a SQL statement to query the result set and display row as columns and columns as row?
Login to rate this answer.