Rudolf Adamkovič Personal site


Example: Improving indentation of joins

CREATE TABLE t(a, b, x);
CREATE TABLE u(a, b, y);
INSERT INTO t(a, b, x) VALUES (1, 2, 10);
INSERT INTO u(a, b, y) VALUES (1, 2, 20);
SELECT x, y
  FROM t
       INNER JOIN u ON TRUE
           AND t.a = u.a
           AND t.b = u.b
xy
1020

© 2025 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and secret alien technologies of yesteryear.