Breaking SQL
Paste a PostgreSQL query. We expand short table aliases, pretty-print, and list assumed indexes guessed from the SQL — not from your database. The dialect menu is an output hint for those indexes and guessed DDL. Paste an error below for a matching article.
Paid subscription. You're on Breaking SQL Pro. Optimize uses the paid plan on this browser.
Manage or cancel
Rewrite a query
Assumed indexes (guessed from this query)
Suspected schema
Get notified when paid Optimize is live
We'll email when real payments are on. Joining the list also gives this browser three more Optimize runs right away.
Look up an error
Paste the first line of the error. Browse all articles.