SET join_collapse_limit = 32;
SET geqo = off;

EXPLAIN SELECT * FROM t_0
    FULL JOIN t_1 ON ((t_1.c_1_19 = t_0.c_0_23) AND (t_1.c_1_11 = t_0.c_0_17) AND (t_1.c_1_1 = t_0.c_0_15))
    LEFT JOIN t_2 ON ((t_2.c_2_16 = t_1.c_1_20) AND (t_2.c_2_8 = t_1.c_1_3) AND (t_2.c_2_12 = t_0.c_0_9))
    FULL JOIN t_3 ON ((t_3.c_3_7 = t_2.c_2_4) AND (t_3.c_3_26 = t_1.c_1_5))
    FULL JOIN t_4 ON ((t_4.c_4_26 = t_1.c_1_21) AND (t_4.c_4_27 = t_0.c_0_23) AND (t_4.c_4_22 = t_0.c_0_3))
    LEFT JOIN t_5 ON ((t_5.c_5_0 = t_4.c_4_25) AND (t_5.c_5_7 = t_1.c_1_13))
    RIGHT JOIN t_6 ON ((t_6.c_6_3 = t_2.c_2_17) AND (t_6.c_6_17 = t_0.c_0_12) AND (t_6.c_6_8 = t_5.c_5_16))
    JOIN t_7 ON ((t_7.c_7_10 = t_2.c_2_21) AND (t_7.c_7_17 = t_0.c_0_21))
    RIGHT JOIN t_8 ON ((t_8.c_8_1 = t_5.c_5_29))
    JOIN t_9 ON ((t_9.c_9_12 = t_0.c_0_19) AND (t_9.c_9_4 = t_4.c_4_31))
    JOIN t_10 ON ((t_10.c_10_8 = t_9.c_9_25) AND (t_10.c_10_25 = t_7.c_7_11) AND (t_10.c_10_16 = t_3.c_3_9))
    RIGHT JOIN t_11 ON ((t_11.c_11_19 = t_0.c_0_20))
