Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

PIVOT TABLE

$
0
0

Dear All,

I want to use pivot table

my query below is

SELECT COUNT(*) SCORE , [PLAN TYPE]  FROM CORNER_EV
GROUP BY [PLAN TYPE]

Output:-

SCORE PLAN TYPE
21 NULL
43 MEDICAID
11 NR – SHORT FORM
4 PPO
130 SHORT FORM
4 SR – INELIGIBLE
2 SR – MEDICAID
3 SR – SHORT FORM

expected output in

SCORE                     NULL MEDICAID NR – SHORT FORM
PLAN TYPE 21 43 11

looking to above output usiong pivot table,

Please help

Regards,

Vipin jha


Thankx & regards, Vipin jha MCP


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>