WORK 61 words
Compare Two SQL Queries for the One That Will Actually Scale
Two queries returning identical results today can behave very differently once the table is ten times the size. This compares both on how they are likely to scale, explains the specific structural reason one is more at risk, and gives you a clear answer in plain terms rather than a generic note to add an index somewhere.
Two SQL queries produce the same result today but might not perform the same at scale. Paste [both queries and roughly how large the table is expected to grow], and get back a quick comparison of which is more likely to slow down as the table grows, in plain terms, plus one specific reason tied to how each query is structured.
⚠ human-in-the-loop: you are responsible for the results of using this prompt, not us.