select case when case when PI() in (
          select  
              85.45 as c0
            from 
              t_g2kscc as ref_0
            where (ref_0.pkey <= ( 
                  select  
                      ref_1.wkey as c0
                    from 
                      t_g2kscc as ref_1)) 
              ) then 60 else 10 end
         not in (
      select  
            ref_4.c_tlumg as c0
          from 
            t_d0pt_c as ref_4
        ) then 65.4 else 44.96 end
  ;

