Still using Windows 3.1? So why stick to SQL-92? A lot has changed in 30 years. We embrace the standard.modern-sql.com Vienna, AustriaJoined February 2015
The SQL/JSON Path item-method .keyvalue() has an interesting history in the Oracle Database.
modern-sql.com/caniuse/keyval…
In 23.26.2 it works, but not in ?( filter ) context.
MariaDB 12.3.2 was released last week.
It's the first "stable" version of the long-term supported (LTS = 3 years) 12.3 branch.
An SQL dialect enhancement is the IS JSON predicate. Also: a bug I reported is fixed (MDEV-38835).
All charts on modern-sql.com are updated.
ORDER BY Has Come a Long Way
modern-sql.com/blog/2026-05/o…
The ORDER BY clause is one of the best-known SQL clauses. Yet there are a number of common misunderstandings that are worth clearing up. The article walks you through the evolution of the ORDER BY clause in the SQL standard.
@damassima For the avoidance of misunderstandings: PostgreSQL *can* use expressions in ORDER BY, but they must not contain the names of columns from the SELECT clause.
Should these functions return the same value?
SELECT
ROW_NUMBER() OVER (ORDER BY x),
ROW_NUMBER() OVER (ORDER BY x)
FROM ...
What about when many rows have the same value for X?
According to the #SQL standard: yes
@MarkusWinand investigates modern-sql.com/blog/2026-03/o…
@rwmarti Neither would I expect the order-equivalence rule to cover different SELECTs. The wording is very open. I'm sure it covers different OVER clauses of the same SELECT (and DBMS) though.
Order-equivalent OVER clauses
modern-sql.com/blog/2026-03/o…
About an important but rarely appreciated aspect when using multiple OVER clauses in a single query.
SQL Comments, Please!
modern-sql.com/caniuse/commen…
Standard SQL offers two flairs of comments: one starts by two dashes (--) and goes to the end of the line. The other starts with slash-asterisk (/*) and ends with asterisk-slash (*/).
#SQL#DuckDB#PostgreSQL#MSSQL
Infinite Recursion Guards
modern-sql.com/caniuse/with_r…
With recursive is the only SQL construct that is not guaranteed to terminate, eventually. As the DBMS is typically a very crucial system, infinite loops must be prevented at all times. See how various SQL systems help you.
Oracle 26ai¹ was released yesterday.
Noteworthy SQL addition: QUALIFY.
modern-sql.com/caniuse/qualify
I bet this starts an avalanche (there are already PostgreSQL patches).
¹ 26ai is the marketing version, 23.26.0 is the technical version.
After being « gone fishin' » during summertime I just updated my website for the releases that happened during that time:
* MariaDB 11.8 and 12.0
* Oracle 23.9
* Db2 12.1.2
All charts on modern-sql.com and use-the-index-luke.com are updated.
A Christmas present for SQL standard lovers?
Part 1 is available for free again.
standards.iso.org/ittf/PubliclyA…
The last edition that was available for free was 2011, AFAIK. And that disappeared when 2016 was released.
Merry Christmas :)
25K Followers 312 FollowingThe Database Guy. I am helping you get better with MySQL and PostgreSQL.
⚡️ https://t.co/WwHTfJFoA5
📝 https://t.co/zJpXKSTKve
🛠️ @stackbricksapp
9K Followers 256 FollowingSQL Renaissance Ambassador. Author, Trainer, Coach. PhD in Common Sense. Creator of https://t.co/6oKhq87B43 and https://t.co/RrIy2AY7Tl.
64K Followers 2K FollowingSincere poster. No cynicism. Dad to two sets of twins!
- VP Marketing & Community @laravel
- Creator https://t.co/QG0tWQcm92
- @MostlyTechPod
2K Followers 199 FollowingPostgres women founder, PostgreSQL Europe treasurer, PostgreSQL recognized contributor.
Field CTO at EDB.
Opinions are my own.
49 Followers 926 FollowingGod, grant me the serenity to accept the things I cannot change, the courage to change the things I can, and the wisdom to know the difference
730 Followers 917 Following🇺🇦 Noctívago, repto entre funciones y ciclos de reloj. Tuiteo porque mis pruritos cerebrales me impelen a hacerlo.
! AutoFollowBacks()
539 Followers 3K FollowingTo serve a community is an honor and legacy no one can take away from you. #togetherness #compassion #goleafsgo #bleedbluenwhite
353 Followers 2K FollowingEl conocimiento no es propiedad de nadie sino que
es como la energía; simplemente fluye, se transforma y nos transforma.
Gracias a Dios por la vida.
0 Followers 54 FollowingDevelop the reasoning that makes you effective with data. Premium interview practice for data engineers, analysts, scientists & AI roles. https://t.co/64Nss3sAtX
9K Followers 256 FollowingSQL Renaissance Ambassador. Author, Trainer, Coach. PhD in Common Sense. Creator of https://t.co/6oKhq87B43 and https://t.co/RrIy2AY7Tl.