CREATE TABLE t0 (
    c0 ,
    c1 
);
SELECT subq1.c8  c9
FROM (SELECT TRUE  c8
   FROM (SELECT t1.c1  c5, t1.c0  c6, t1.c0  c7
      FROM t0  t1
      WHERE t1.c1 = t1.c0
      LIMIT 5819351589579946652 )  subq0
   WHERE (67,NULL)  NOT NULL
   ORDER BY c8)  subq1
WHERE subq1.c8 <> 
 CASE subq1.c8 WHEN subq1.c8 = subq1.c8 THEN subq1.c8
        ELSE subq1.c8
   END AND subq1.c8 <> subq1.c8   