Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| tech-notes:sql:pivot [2022/09/22 13:11] – [Pivot of our Source Table] gerardorourke | tech-notes:sql:pivot [2022/09/22 13:21] (current) – [Pivot of our Source Table] gerardorourke | ||
|---|---|---|---|
| Line 36: | Line 36: | ||
| ==== Our Source Table ==== | ==== Our Source Table ==== | ||
| Since the Header value for these two columns would end up as " | Since the Header value for these two columns would end up as " | ||
| + | Note: this step is not particularly necessary - we could just change the column names at the end - in our final SQL table. | ||
| <code sql> | <code sql> | ||
| Line 79: | Line 80: | ||
| </ | </ | ||
| - | You can see above is a select | + | You can see above is a SELECT |
| <code sql> | <code sql> | ||