DEV Community

From SQL to SPL Series' Articles

Back to Judith-Data-Processing-Hacks's Series
Do Ordered Grouping and Aggregation within Groups — From SQL to SPL #1
Cover image for Do Ordered Grouping and Aggregation within Groups — From SQL to SPL #1

Do Ordered Grouping and Aggregation within Groups — From SQL to SPL #1

6
Comments
2 min read
Track Production Operations Outcome Progression with Conditional NULLs - From SQL to SPL #2
Cover image for Track Production Operations Outcome Progression with Conditional NULLs - From SQL to SPL #2

Track Production Operations Outcome Progression with Conditional NULLs - From SQL to SPL #2

5
Comments 1
2 min read
Complement a certain average value to ensure that the total sum remains unchanged — From SQL to SPL #3
Cover image for Complement a certain average value to ensure that the total sum remains unchanged — From SQL to SPL #3

Complement a certain average value to ensure that the total sum remains unchanged — From SQL to SPL #3

7
Comments 1
2 min read
Convert Cross Cell to Row Header, Row Header to Column — From SQL to SPL #4
Cover image for Convert Cross Cell to Row Header, Row Header to Column — From SQL to SPL #4

Convert Cross Cell to Row Header, Row Header to Column — From SQL to SPL #4

7
Comments 1
2 min read
Flexible Interval Aggregation — From SQL to SPL #5
Cover image for Flexible Interval Aggregation — From SQL to SPL #5

Flexible Interval Aggregation — From SQL to SPL #5

7
Comments 1
2 min read
Align the existing data to the corresponding position and fill in any missing data with 0 — From SQL to SPL #6
Cover image for Align the existing data to the corresponding position and fill in any missing data with 0 — From SQL to SPL #6

Align the existing data to the corresponding position and fill in any missing data with 0 — From SQL to SPL #6

7
Comments 1
2 min read
Uncertain Number but Regular Column to Row Conversion — From SQL to SPL #7
Cover image for Uncertain Number but Regular Column to Row Conversion — From SQL to SPL #7

Uncertain Number but Regular Column to Row Conversion — From SQL to SPL #7

7
Comments 1
2 min read
Calculate based on the records within the group and fill the result into the first record — From SQL to SPL #8
Cover image for Calculate based on the records within the group and fill the result into the first record — From SQL to SPL #8

Calculate based on the records within the group and fill the result into the first record — From SQL to SPL #8

7
Comments 1
3 min read
Search for the Closest Matching Record within the Group — From SQL to SPL #9
Cover image for Search for the Closest Matching Record within the Group — From SQL to SPL #9

Search for the Closest Matching Record within the Group — From SQL to SPL #9

6
Comments 1
2 min read
Calculate Monthly Account Balance and Fill in Missing Dates — From SQL to SPL #10
Cover image for Calculate Monthly Account Balance and Fill in Missing Dates — From SQL to SPL #10

Calculate Monthly Account Balance and Fill in Missing Dates — From SQL to SPL #10

6
Comments 1
2 min read
Calculate the Hierarchy of Recursive References — From SQL to SPL #11
Cover image for Calculate the Hierarchy of Recursive References — From SQL to SPL #11

Calculate the Hierarchy of Recursive References — From SQL to SPL #11

5
Comments 1
2 min read
Calculate a Pair of Minimum Values that Meet the Criteria within the Group — From SQL to SPL #12
Cover image for Calculate a Pair of Minimum Values that Meet the Criteria within the Group — From SQL to SPL #12

Calculate a Pair of Minimum Values that Meet the Criteria within the Group — From SQL to SPL #12

6
Comments 1
2 min read
Pair and Transpose Adjacent Records within the Group - From SQL to SPL #13
Cover image for Pair and Transpose Adjacent Records within the Group - From SQL to SPL #13

Pair and Transpose Adjacent Records within the Group - From SQL to SPL #13

6
Comments 1
2 min read
Calculate the Number of Intersections between Adjacent Subsets after Grouping — From SQL to SPL #14
Cover image for Calculate the Number of Intersections between Adjacent Subsets after Grouping — From SQL to SPL #14

Calculate the Number of Intersections between Adjacent Subsets after Grouping — From SQL to SPL #14

5
Comments 1
2 min read
Calculate all the year/months included in the year/month interval — From SQL to SPL #15
Cover image for Calculate all the year/months included in the year/month interval — From SQL to SPL #15

Calculate all the year/months included in the year/month interval — From SQL to SPL #15

5
Comments 1
2 min read
Getting Values from Multiple Format Strings to Multiple Records — From SQL to SPL #16
Cover image for Getting Values from Multiple Format Strings to Multiple Records — From SQL to SPL #16

Getting Values from Multiple Format Strings to Multiple Records — From SQL to SPL #16

6
Comments 1
2 min read
Number Non-Null Values in Order within the Group — From SQL to SPL #17
Cover image for Number Non-Null Values in Order within the Group — From SQL to SPL #17

Number Non-Null Values in Order within the Group — From SQL to SPL #17

6
Comments 1
2 min read
Get the Records after and before the Searched One — From SQL to SPL #18
Cover image for Get the Records after and before the Searched One — From SQL to SPL #18

Get the Records after and before the Searched One — From SQL to SPL #18

7
Comments 2
2 min read
Find the Superset from the Relationship Table — From SQL to SPL #19
Cover image for Find the Superset from the Relationship Table — From SQL to SPL #19

Find the Superset from the Relationship Table — From SQL to SPL #19

1
Comments 1
1 min read
Find the Closest Date Match for Each Record from Two Tables — From SQL to SPL #20
Cover image for Find the Closest Date Match for Each Record from Two Tables — From SQL to SPL #20

Find the Closest Date Match for Each Record from Two Tables — From SQL to SPL #20

6
Comments 1
2 min read
Deduplicate between an Uncertain Number of Columns — From SQL to SPL #21
Cover image for Deduplicate between an Uncertain Number of Columns — From SQL to SPL #21

Deduplicate between an Uncertain Number of Columns — From SQL to SPL #21

7
Comments 1
2 min read
Summarize Row Counts by Dynamic Columns into JSON — From SQL to SPL #22
Cover image for Summarize Row Counts by Dynamic Columns into JSON — From SQL to SPL #22

Summarize Row Counts by Dynamic Columns into JSON — From SQL to SPL #22

6
Comments 1
2 min read
Count Date Ranges per Year — From SQL to SPL #23
Cover image for Count Date Ranges per Year — From SQL to SPL #23

Count Date Ranges per Year — From SQL to SPL #23

8
Comments 1
2 min read
Fetch Values from Previous Non-Null Value Rows — From SQL to SPL #24
Cover image for Fetch Values from Previous Non-Null Value Rows — From SQL to SPL #24

Fetch Values from Previous Non-Null Value Rows — From SQL to SPL #24

6
Comments 1
3 min read
Substring from a Column of Strings — From SQL to SPL #25
Cover image for Substring from a Column of Strings — From SQL to SPL #25

Substring from a Column of Strings — From SQL to SPL #25

5
Comments 1
2 min read
Create Columns from Distinct Values of a Column — From SQL to SPL #26
Cover image for Create Columns from Distinct Values of a Column — From SQL to SPL #26

Create Columns from Distinct Values of a Column — From SQL to SPL #26

6
Comments 1
1 min read
Aggregate according to Time Interval — From SQL to SPL #27
Cover image for Aggregate according to Time Interval — From SQL to SPL #27

Aggregate according to Time Interval — From SQL to SPL #27

9
Comments 3
2 min read
Find Consecutive Alphabetical Characters in String — From SQL to SPL #28
Cover image for Find Consecutive Alphabetical Characters in String — From SQL to SPL #28

Find Consecutive Alphabetical Characters in String — From SQL to SPL #28

8
Comments 1
2 min read
Generate Calculated Columns Based on Continuous Values — From SQL to SPL #29
Cover image for Generate Calculated Columns Based on Continuous Values — From SQL to SPL #29

Generate Calculated Columns Based on Continuous Values — From SQL to SPL #29

1
Comments 2
2 min read
Segmented Accumulation by Condition — From SQL to SPL #30
Cover image for Segmented Accumulation by Condition — From SQL to SPL #30

Segmented Accumulation by Condition — From SQL to SPL #30

6
Comments 1
1 min read