question

shekhar.dalvi avatar image
shekhar.dalvi asked

Pivot Table

I have a query which gives following results SELECT WkDayText,WkDay,SrNo,WkNo,IsNull(WorkHours,0) 'WorkHours',IsNULL(WorkMinutes,0) 'WorkMinutes' FROM @WkBreakup ORDER BY WkNo,SrNo ![alt text][1] How would I query to get the following results ![alt text][2]ys.png [1]: /storage/temp/3277-wkda [2]: /storage/temp/3278-wkdays2.png
sql-server-2008sql-server
wkdays.png (12.3 KiB)
wkdays2.png (2.8 KiB)
2 comments
10 |1200 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

What have you tried so far?
2 Likes 2 ·

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.