x

sql server 2008

i had one table like this

 responseid    cropName    turnoverValue
 570D13_1    Soya bean       10
 570D13_1    Cotton          50
 570D13_1    paddy            15

i wanted to result like

 ResponseId Crop1      Turnover   Crop2  Turnover  Crop3  Turnover  
 570D13_1   Soya bean   10          Cotton     50       Paddy   15     
more ▼

asked Apr 06, 2013 at 10:32 AM in Default

avatar image

prasad.nyalapatla
100 9 11 15

What are the rules for the order of crops within Crop1/Crop2/Crop3?

Apr 06, 2013 at 04:40 PM ThomasRushton ♦♦
(comments are locked)
10|1200 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x2188

asked: Apr 06, 2013 at 10:32 AM

Seen: 489 times

Last Updated: Apr 06, 2013 at 04:40 PM

Copyright 2017 Redgate Software. Privacy Policy