A developer writes this WHERE clause to avoid a divide-by-zero error, assuming SQL evaluates left-to-right and stops early:
WHERE col1 <> 0 AND col2 / col1 > 2
Is this safe?
← → arrow keys to navigate
Sign in to save your progress.