Correct 5. E x a m i n e th e f o l l o w i n g c o d e: DECLARE CURSORcountry_cursIS SELECTcountry_id,country_name FROMwf_countries ORDERBYcountry_name; v_countrycountry_curs%ROWTYPE; BEGIN OPENcountry_curs; LOOP FETCHcountry_cursINTOv_country; EXITWHENcountry_curs%NOTFOUND; -------LineA ENDLOOP; CLOSEcountry_curs; END; YouwanttodisplaytheidandnameofeachFETCHedcountry.Whatwould YouwanttodisplaytheidandnameofeachFE TCHedcountry.Whatwouldyoucode youcode atLineA? MarkforReview (1)Points DBMS_OUTPUT.PUT_LINE(country_id||''||country_name);
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.
DBMS_OUTPUT.PUT_LINE(v_country.country_id||''||v_country.country_n DBMS_OUTPUT.PUT_LINE(v_country.country_id||' '||v_country.country_na a me);(*)
Correct 7. L o o k a t th e s e d e c l a r a t i o n s : DECLARE CURSORdept_loc_cursorIS SELECTdepartment_id,department_name,location_name FROMdepartmentsd,locationsl WHEREd.location_id=l.location_id; v_dept_locdept_loc_cursor%ROWTYPE; HowmanyfieldsdoesV_DEPT_LOCcontain? MarkforReview (1)Points Two,becausethecursorjoinstwotables
Trusted by over 1 million members
Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions! Start Free Trial Cancel Anytime.