with recursive seq(no) as( select 1 no union all select no+1 no from seq where no < 100 ) select no from seq ;
substr(concat('00000', floor(rand() * 1000000)), -6)
select subdate(now(), cast(rand() * 100 as int))