Answered step by step
Verified Expert Solution
Question
1 Approved Answer
witte a PL/SQL. procedure Cityinfo that takes a dty name as input parameter and displays the names of the departments that are located in that
witte a PL/SQL. procedure Cityinfo that takes a dty name as input parameter and displays the names of the departments that are located in that dty and the details of the highest paid employee(s) in the department (First Name Last Name, salary). Note that more than 1 employee can earn the highest salary in the department. Sample Output: City: Manama Department Research Employee with Highest Salary: Ahmed Abdulla Salary: 1100BD Department: Marketing Employee with Highest Salary: Zahra Yousif Employee with Highest Salary: Saeed Jasim Salary: 740BD Salary: 74080 Department: Sales Employee with Highest Salary: Mohamed Jasim Salary, 1000BD CS Scanned with CamScanner COUNTRIES (COUNTRY_ID, COUNTRY_NAME, REGION_ID) Primary Key: COUNTRY_ID DEPARTMENTS ( DEPARTMENT_ID. DEPARTMENT_NAME, MANAGER_ID, LOCATION_ID): Primary key. DEPARTMENT_ID I EMPLOYEES ( EMPLOYEE_ID , FIRST_NAME, LAST_NAME, EMAIL, PHONE_NUMBER, HIRE_DATE.JOB_ID. SALARY, MANAGER_ID, DEPARTMENT_ID ): Primary Key: EMPLOYEE_ID JOBS (JOB_ID, JOB_TITLE, MIN_SALARY, MAX_SALARY ) Primary Key: Job_ID LOCATIONS LOCATION_ID , ADDRESS, CITY, COUNTRY_ID); Primary Key: Location_ID
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started