postgresql7.3 update evaluation_tasks set weight = :aweight, points=:apoints, relative_weight=:relative_weight where task_id = :id update evaluation_tasks set requires_grade_p = 't' where task_id in ([join $with_grade ,]) update evaluation_tasks set requires_grade_p = 'f' where task_id in ([join $without_grade ,]) select eg.grade_plural_name, eg.weight as grade_weight, eg.grade_item_id, eg.comments as grade_comments from evaluation_gradesi eg where grade_id = :grade_id