I have a question for complex mysql script , below
select * from table where UNIX_TIMESTAMP() > @var (if(schedule_time > created_time),#true @var=sche