r/SQL • u/No_Ambition8323 • 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
View all comments
Show parent comment
4
u/cwjinc Sep 04 '26 edited Sep 04 '26
That's what makes DUAL special ;)
PS, You know DUAL used to be a real table. You could add or delete rows from it.
That was a VERY bad idea though.