Skip to content
0:00 / 0:00

#sql-92#windowfunctions#systemversioning

Modern SQL: A lot has changed since SQL-92 by Markus Winand

Devoxx

172K subscribers • 49 videos on Hallway • Conference channel

YouTube
  • Recommended by 2 people: 2 on Hacker News.
  • A classic. People kept recommending it from 2019 to 2023.
  • Presented by Markus Winand

Intermediate. Assumes working knowledge.

5.5K views8 years ago2 recommendations

Databases and dataSQL

Markus Winand explains how SQL has evolved beyond SQL-92, demonstrating modern features like window functions and system versioning.

As a matter of fact, most textbooks, websites, and even universities teach SQL as it was 25 years ago (SQL-92). In the meantime, SQL evolved into a more modern data processing language that is not limited to relational algebra anymore. Although many databases support more modern SQL for years, hardly any developer knows how the new features can be used to solve common problems. This session is, therefore, not limited to explaining SQL features but also compares the SQL-92 solution to common problems to the more modern solution to make the benefit directly visible. Finally, the session also shows how long these features are supported by various databases so that you immediately know whether the shown solution works in your environment or not.

Why it's here

2 people recommend this

What people say. Recommended as an excellent overview of modern SQL features that many developers and universities fail to teach.

mongolon Hacker News • Recommends

On “SQL: One of the most valuable skills”

I recommend you look at one of Markus Winand's presentations, such as this one : link to this video I felt it summarized well the modern foundation of SQL databases.

scythmic_waveson Hacker News • Recommends

On “Easy, alternative soft deletion: `deleted_record_insert`”

I happened to fall down this rabbit hole a few days ago because of another HN thread. In it, a commenter mentioned 1 a talk by Markus Winand where he goes over some of the more interesting additions to the SQL standard since 92, including versioned tables 2 (I've linked to the timestamp, but the whole talk is good). I got real excited about that feature because I could think of a few tables at work that could use it. Sadly, PostgreSQL doesn't implement it 3 (I can't permalink to the feature but you can search for "T180", "System-versioned tables", "T181", or "Application-time period tables"). 1 link 2 link to this video 3 link

jamie_caon Hacker News • Mentions

On “Ask HN: What made you change your mind about a programming language/paradigm?”

That feature's "coming" - part of SQL 2011 called System Versioning, currently supported in DB2 and SQL Server, but available in MariaDB 10.3 Beta according to this talk: link to this video