create table t_ykc ( 
c_l2nwhnnh5 INTEGER NOT NULL,
c_i3w65h8 INTEGER ,
primary key(c_l2nwhnnh5),
unique(c_l2nwhnnh5),
check(t_ykc.c_l2nwhnnh5 >= t_ykc.c_l2nwhnnh5)
);

insert into t_ykc values 
(90, 48), 
(75, 20);

select  
  case when 
        LAST_VALUE(
          cast(77.22 as SIGNED)) over (partition by ref_0.c_l2nwhnnh5 order by ref_0.c_l2nwhnnh5,ref_0.c_l2nwhnnh5) not in (
      select  
          62.4 as c0
        from 
          t_ykc as ref_1
        where 0<>0) then ref_0.c_l2nwhnnh5 else ref_0.c_l2nwhnnh5 end
     as c0, 
  ref_0.c_l2nwhnnh5 as c1, 
  (select c_l2nwhnnh5 from t_ykc order by c_l2nwhnnh5 limit 1 offset 4)
     as c2, 
  case when ref_0.c_l2nwhnnh5 not in (
      select  
          ref_2.c_l2nwhnnh5 as c0
        from 
          (t_ykc as ref_2
            inner join (t_ykc as ref_3
              cross join t_ykc as ref_4
              )
            on (((99 between ref_2.c_l2nwhnnh5 and 44) 
                    and (1=1) AND ref_3.c_i3w65h8 <> ref_3.c_i3w65h8) 
                and (1=1)))
        where ref_2.c_l2nwhnnh5 between ref_2.c_i3w65h8 and ref_3.c_l2nwhnnh5) then ref_0.c_l2nwhnnh5 else ref_0.c_l2nwhnnh5 end
     as c3, 
  (select count(c_l2nwhnnh5) from t_ykc)
     as c4, 
  cast(nullif(11,
    ref_0.c_l2nwhnnh5) as SIGNED) as c5, 
  ref_0.c_l2nwhnnh5 as c6, 
  ref_0.c_l2nwhnnh5 as c7, 
  ref_0.c_l2nwhnnh5 as c8, 
  ref_0.c_l2nwhnnh5 as c9, 
  ref_0.c_l2nwhnnh5 as c10
from 
  t_ykc as ref_0
where (ref_0.c_l2nwhnnh5 <= (select min(c_l2nwhnnh5) from t_ykc)
      ) is not NULL;

