r/SQL • • Sep 04 '26

Discussion Database-Specific SQL Differences

Have you ever written a SQL query that works perfectly in one database but fails in another?

What SQL feature or syntax surprised you the most when switching between DBMSs like MySQL, PostgreSQL, SQL Server, Oracle, or Snowflake?

13 Upvotes

20 comments sorted by

View all comments

Show parent comment

2

u/cwjinc Sep 04 '26

That's funny. I feel the from dual thing the other way around.
It just feels wrong to select something without a FROM clause.