postgresql7.4 select task_name from evaluation_tasks et where task_id=:task_id select count(*) from cr_items where item_id = :grades_sheet_item_id select item_id from evaluation_student_evalsi where evaluation_id = :evaluation_id