Skip to content

Commit ae54639

Browse files
Update unpivot-multiple-columns in-snowflake.md
1 parent 50d9f5a commit ae54639

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

unpivot-multiple-columns in-snowflake.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Data can be organized in different ways, for example, in a short/wide or tall/sk
77
|:--:|
88
|Transposing Wide Table into a Long Table using UNPIVOT for easier analysis|
99

10-
## Example 1: Unpivot 3 Columns
10+
## Multi-column Unpivot example 1
1111
Suppose you have a Wide Table format Performance Ratings that you need to covert to a Long Table format:
1212

1313
|<img src="https://github.com/user-attachments/assets/fe058626-62c3-4155-a2aa-288b6c84c798" width="75%">|
@@ -31,7 +31,8 @@ where split(skill, '_')[0] = split(skill_comments, '_')[0];
3131

3232
```
3333

34-
## Example 2: Unpivot 2 Columns
34+
## Multi-column Unpivot example 2
35+
3536
Suppose you have a Wide Table format Children Guardian contact information that you want to convert to a Long Table format
3637

3738
|<img src="https://github.com/user-attachments/assets/632b638b-23f6-4a83-98c6-fce8c7b79967" width="75%">|

0 commit comments

Comments
 (0)