SELECT min(ref_11.c_ou2) as c1, max(ref_11.c_ou2) as c2, min( cast(truncate( cast(-26340 as double), cast(ref_11.c_ou2 as signed)) as double)) as c3 FROM t_rl02 as ref_11 GROUP BY ref_11.c_nxsiwx0co order by 1,2,3;