oracle8.1.6 select nvl(initial_response_id,response_id) as initial_response_id from survey_responses where response_id=:response_id