declare
cursor c1 is select first_name, salary from hr.employees where department_id in (60,210,230);
begin
for records in c1
loop
    dbms_output.put_line('First name: '||records.first_name||' Salary : '||records.salary);
end loop;
end;
