2019-03-05 15:16:59 +00:00
0 0
2019-02-01 16:48:25 +00:00
cross
1 1 1 1
2019-02-04 18:45:31 +00:00
1 1 1 2
2 2 2 \N
2019-02-01 16:48:25 +00:00
cross nullable
1 1 1 1
2019-02-04 18:45:31 +00:00
2 2 1 2
2019-02-01 16:48:25 +00:00
cross nullable vs not nullable
1 1 1 1
2019-02-04 18:45:31 +00:00
2 2 1 2
cross self
1 1 1 1
2 2 2 2
cross one table expr
1 1 1 1
1 1 1 2
1 1 2 \N
1 1 3 \N
2 2 1 1
2 2 1 2
2019-02-01 16:48:25 +00:00
2 2 2 \N
2019-02-04 18:45:31 +00:00
2 2 3 \N
cross multiple ands
1 1 1 1
cross and inside and
1 1 1 1
cross split conjunction
2019-02-01 16:48:25 +00:00
1 1 1 1
2019-02-01 17:22:28 +00:00
comma
1 1 1 1
2019-02-04 18:45:31 +00:00
1 1 1 2
2019-02-01 17:22:28 +00:00
2 2 2 \N
comma nullable
1 1 1 1
2019-02-04 18:45:31 +00:00
2 2 1 2
cross
2020-06-01 23:31:50 +00:00
SELECT \n a,\n b,\n t2_00826.a,\n t2_00826.b\nFROM t1_00826\nALL INNER JOIN t2_00826 ON a = t2_00826.a\nWHERE a = t2_00826.a
2019-02-04 18:45:31 +00:00
cross nullable
2020-06-01 23:31:50 +00:00
SELECT \n a,\n b,\n t2_00826.a,\n t2_00826.b\nFROM t1_00826\nALL INNER JOIN t2_00826 ON a = t2_00826.a\nWHERE a = t2_00826.a
2019-02-04 18:45:31 +00:00
cross nullable vs not nullable
2020-06-01 23:31:50 +00:00
SELECT \n a,\n b,\n t2_00826.a,\n t2_00826.b\nFROM t1_00826\nALL INNER JOIN t2_00826 ON a = t2_00826.b\nWHERE a = t2_00826.b
2019-02-04 18:45:31 +00:00
cross self
2020-06-01 23:31:50 +00:00
SELECT \n a,\n b,\n y.a,\n y.b\nFROM t1_00826 AS x\nALL INNER JOIN t1_00826 AS y ON (a = y.a) AND (b = y.b)\nWHERE (a = y.a) AND (b = y.b)
2019-02-04 18:45:31 +00:00
cross one table expr
2020-06-01 23:31:50 +00:00
SELECT \n a,\n b,\n t2_00826.a,\n t2_00826.b\nFROM t1_00826\nCROSS JOIN t2_00826\nWHERE a = b
2019-02-04 18:45:31 +00:00
cross multiple ands
2020-06-01 23:31:50 +00:00
SELECT \n a,\n b,\n t2_00826.a,\n t2_00826.b\nFROM t1_00826\nALL INNER JOIN t2_00826 ON (a = t2_00826.a) AND (b = t2_00826.b)\nWHERE (a = t2_00826.a) AND (b = t2_00826.b)
2019-02-04 18:45:31 +00:00
cross and inside and
2020-06-01 23:31:50 +00:00
SELECT \n a,\n b,\n t2_00826.a,\n t2_00826.b\nFROM t1_00826\nALL INNER JOIN t2_00826 ON (a = t2_00826.a) AND (a = t2_00826.a) AND (a = t2_00826.a) AND (b = t2_00826.b)\nWHERE (a = t2_00826.a) AND ((a = t2_00826.a) AND ((a = t2_00826.a) AND (b = t2_00826.b)))
2019-02-04 18:45:31 +00:00
cross split conjunction
2020-06-01 23:31:50 +00:00
SELECT \n a,\n b,\n t2_00826.a,\n t2_00826.b\nFROM t1_00826\nALL INNER JOIN t2_00826 ON (a = t2_00826.a) AND (b = t2_00826.b)\nWHERE (a = t2_00826.a) AND (b = t2_00826.b) AND (a >= 1) AND (t2_00826.b > 0)