select workflow_name, mstatus_name, mstatus_isdefault
from gr_task, gr_workflow
left join gr_mstatus on workflow_id=mstatus_workflow
where workflow_task=task_id
and (task_number<2 or task_number>25);  
