Top Articles

SQL Visualisation Guide – Query Diagrams, Lineage & ERD

Have you ever inherited the SQL codebase from someone else where it is in a “bit of a mess”? 😁 Sound familiar? Most data engineers and SQL developers have been there including myself—staring at a spaghetti-like web of queries, trying to untangle a chaotic SQL codebase. It’s a common nightmare. Traditionally, you had to fight …

Uli Bethke November 3, 2024

Recent Articles

SQL,

Comparing Window Function Features by Database Vendors

We will round off the series on window functions with comparison of what database vendors offer. There are various mutations of window functions and every vendor supports a different subset…
Uli Bethke September 15, 2017
XML,

Convert IRS XML to PostgreSQL using Flexter Enterprise

Loading IRS Data into PostgreSQL database using Flexter Enterprise In this walkthrough, we load the IRS XML files into PostgreSQL database using Flexter Enterprise edition. Flexter Enterprise provisions users with…
Maciek August 28, 2017
SQL,

Window Function ROWS and RANGE on Redshift and BigQuery

Frames in window functions allow us to operate on subsets of the partitions by breaking the partition into even smaller sequences of rows. SQL provides syntax to express very flexible…
Uli Bethke August 22, 2017
SQL,

Redshift's Window Functions Advanced use case – Sessionization

In the last post about the Window Functions, we introduced an advanced use case, in which the window functions help to make the query more readable, simple and efficient. The…
Uli Bethke August 14, 2017

Automatically converting ESMA MIFID II / MIFIR XML to Snowflake

What is ESMA? ESMA is an independent European Union authority that was established in 2011 to enhance the protection of investors and ensure the orderly functioning of financial markets in…
Maciek August 7, 2017
SQL,

Redshift Window Functions Advanced Use Cases

Merging time-based events into periods Thanks to our previous posts about the window functions, Introduction to Window functions on Redshift and Data exploration with Window functions on Redshift, you should…
Uli Bethke August 3, 2017
spinner