I have the following piece of code:
DECLARE
v_oras locations.city%TYPE;
BEGIN
SELECT l.city FROM locations l,departments d WHERE l.location_id = d.location_id AND d.department_id = 30;
END;
/
How can I assign the select to the variable previous declared?