
select  
  sample_0.a as c0, 
  pg_catalog.has_column_privilege(
    cast(pg_catalog.pg_my_temp_schema() as oid),
    cast(sample_0.b as text),
    cast(sample_0.b as text)) as c1, 
  (select slcolor from public.shoe_data limit 1 offset 5)
     as c2, 
  
    pg_catalog.array_agg(
      cast(pg_catalog.pg_rotate_logfile() as anynonarray)) over (partition by sample_0.a,sample_0.b,sample_0.a,sample_0.b,sample_0.a order by sample_0.a) as c3
from 
  public.rtest_nothn1 as sample_0 tablesample bernoulli (6.7) 
where sample_0.b <= sample_0.b
