inser sql stateent to see subtasks