Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

How to structure the query?

$
0
0

Hi,

The output of my query is like this -<style><!--table {mso-displayed-decimal-separator:"\."; mso-displayed-thousand-separator:"\,";} @page {margin:.75in .7in .75in .7in; mso-header-margin:.3in; mso-footer-margin:.3in;} tr {mso-height-source:auto;} col {mso-width-source:auto;} br {mso-data-placement:same-cell;} td {padding-top:1px; padding-right:1px; padding-left:1px; mso-ignore:padding; color:black; font-size:12.0pt; font-weight:400; font-style:normal; text-decoration:none; font-family:Calibri, sans-serif; mso-font-charset:0; mso-number-format:General; text-align:general; vertical-align:bottom; border:none; mso-background-source:auto; mso-pattern:auto; mso-protection:locked visible; white-space:nowrap; mso-rotate:0;} .xl65 {text-align:center;} --> </style>

Name_1Name_2Name_3Val_1Val_2Val_3Val_1_2Val_2_3Val_1_3Val_1_2_3
00Category_300110111111
0Category_20012701271270127
00Category_300730737373
Category_1002002022

Please help in getting the output structures as below -

val_1 val_2 val_3 val_1_2 val_1_3 val_2_3 val_1_2_3 name_1 name_2 name_3
1010103335Category 1Category 2

Category 3



Viewing all articles
Browse latest Browse all 7129

Trending Articles