oracle - On execution of a pivot i am getting ORA-00936: missing expression -
on execution of following sql statement getting error [error] execution (23: 69): ora-00936: missing expression
select sno,nam,gender,salary cus pivot xml (count(sno) nam in (any));
can use column name without grouping expressions? want entire column names row header particular table. in advance
let table be
--------- -------- ----------------------- name sno salary --------- -------- ----------------------- sony 1 20000 sweety 2 17500
the above sample table.the result wish follows
--------- -------- snoy sweety --------- -------- 1 2 20000 17500
for 2 values can use in operator had 50 rows or 50 values how can display them.
Comments
Post a Comment