---
title: "Discussion on \"Conditional Grouping — From SQL to SPL #37\" | Hashnode"
description: "Discussion on \"Conditional Grouping — From SQL to SPL #37\". Problem Description & Analysis:\nA certain database table has multiple fields that can be grouped.\n\nTask: Now we need to perform conditional grouping: group by the first two fields ID and SPLIT. If there are no duplicate DATEs within the group, keep t..."
url: "https://hashnode.com/posts/conditional-grouping-from-sql-to-spl-37/68479ba2c746ef0a561975a6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Conditional Grouping — From SQL to SPL #37](https://esproc-desktop.hashnode.dev/conditional-grouping-from-sql-to-spl-37?utm_source=hashnode&utm_medium=feed)

Problem Description & Analysis: A certain database table has multiple fields that can be grouped. Task: Now we need to perform conditional grouping: group by the first two fields ID and SPLIT. If there are no duplicate DATEs within the group, keep t...

Jun 10, 2025 · 2 min read · esproc-desktop.hashnode.dev  
Read the article

-   [#sql](https://hashnode.com/tag/sql)
-   [#sqltutorial](https://hashnode.com/tag/sqltutorial)
-   [#data-analysis](https://hashnode.com/tag/data-analysis)
-   [#data-analytics](https://hashnode.com/tag/data-analytics)
-   [#databases](https://hashnode.com/tag/databases)
-   [#etl](https://hashnode.com/tag/etl)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#productivity](https://hashnode.com/tag/productivity)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#performance](https://hashnode.com/tag/performance)
-   [#esproc-spl](https://hashnode.com/tag/esproc-spl)
-   [#opensource](https://hashnode.com/tag/opensource)

## Written by

[esProc](https://hashnode.com/@esProcDesktop)

@esProcDesktop

  
[View profile](https://hashnode.com/@esProcDesktop)

esProc SPL is a JVM-based programming language designed for structured data computation, serving as both a data analysis tool and an embedded computing engine. FREE download👉🏻: https://www.esproc.com/download-esproc

## Responses 1

Markdown supported · ⌘↵ to post

[esProc](https://hashnode.com/@esProcDesktop)

[Jun 10, 2025](https://hashnode.com/posts/conditional-grouping-from-sql-to-spl-37/68479ba2c746ef0a561975a6/comment/68479cfa14a52b88392257d7)

Check this the most Beginner-Friendly Programming Tool You’ve Been Waiting For! And feel free to share your thoughts with us!

📊Discord:[discord.gg/sxd59A8F2W](https://discord.gg/sxd59A8F2W) 📊Reddit:[reddit.com/r/esProc\_Desktop](https://www.reddit.com/r/esProc_Desktop/)
