select task_number, task_name, category_name, workflow_name
from gr_task, gr_category, gr_workflow
where category_task=task_id and workflow_id=category_workflow
and (task_number<2 or task_number>25);