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,

Bad SQL. SQL anti patterns in OUTER joins

You often need to find both matched and unmatched rows between two or more tables. As we all know we use OUTER joins in SQL to achieve this. However, there…
Uli Bethke August 29, 2023

Country & City Dimension

Country The COUNTRY table serves as a comprehensive repository, capturing essential attributes and details about countries globally. It encompasses unique identifiers, standardized codes, geographical data, and practical information. COUNTRY_CD: Description:…
Uli Bethke August 18, 2023

How Snowflake EXCLUDE and ILIKE protects you from bad SQL. ILIKE it like that.

One of the most common and impactful SQL anti patterns is the use of SELECT *. In this article we will explain what an SQL anti pattern is and how…
Uli Bethke August 16, 2023

Netherlands Open Map Data

Netherlands administrative boundaries and road network The data is organised across two themes. Administrative: This data set contains the polygons for Netherlands administrative boundaries at different levels. It includes the…
Uli Bethke May 18, 2023

Planet Earth Open Map Data

The data is based on OpenStreetMap and enriched with third party sources. It is organised across eleven themes. Each theme is organised by classes and subclasses. You can drill down…
Uli Bethke May 15, 2023

UK Open Map Data

UK administrative boundaries and road network The data is organised across two themes. Administrative: This data set contains the polygons for UK administrative boundaries at different levels. It includes the…
Uli Bethke May 8, 2023
spinner