where dt in (select date_sub(a.haha,1) as my_date from (select current_date as haha) a)