Aug 09, 2020 6:12 am
Please check the attachment for additional information.
3 Replies
Aug 09, 2020 6:28 am
Write a PL SQL to count the locations, where the various departments are located and print the number.
Try this one.
To count the locations, where the various departments are located and to print the number.
Declare V_cnt number:=0; Begin Select count(distinct loc_id) into v_cnt From department; Dbms_output.put_line('Number of location are '||v_cnt); End;