regions countries locations REGION_ID REGION_NAME VARCHAR2(25) CHAR(2) COUNTRY_ID COUNTRY_NAME VARCHAR2(40) LOCATION_ID STREET ADDRESS VARCHAR2(25) NUMBER NUMBER 00 REGION_ID NUMBER POSTAL_CODE VARCHAR2(12) CITY VARCHAR2(30) STATE PROVINCE VARCHAR2(12) COUNTRY_ID CHAR(2) departments employees DEPARTMENT_ID DEPARTMENT_NAME VARCHAR2(30) NUMBER EMPLOYEE ID FIRST NAME NUMBER VARCHAR2(20) jobs MANAGER_ID NUMBER VARCHAR2(25) VARCHAR2(25) LAST_NAME LOCATION_ID NUMBER EMAIL JOB_ID VARCHAR2(10) PHONE NUMBER VARCHAR2(20) VARCHAR2(35) MIN_SALARY NUMBER MAX_SALARY NUMBER JOB_TITLE HIRE DATE DATE JOB_ID VARCHAR2(10) SALARY NUMBER job_history COMMISSION_PCT NUMBER YEMPLOYEE ID START DATE NUMBER MANAGER_ID NUMBER DATE DEPARTMENT_ID NUMBER job_grades END DATE DATE 2 GRADE LEVEL VARCHAR2(2) LOWEST SAL NUMBER HIGHEST SAL NUMBER JOB_ID VARCHAR2(10) DEPARTMENT_ID NUMBER 1) The number of employees 2) The number of employees from US 3) The name of the employees with minimum salary 4) The average salary for Administration Vice President Job 5) The emplovees ne with the may salary for Shinning denartment name 8J 81 81

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Need correct answer. Sure downvote for incorrect querry

 

According to the following database structure, create the SQL statements for the next queries.
regions
countries
locations
REGION_ID
REGION_NAME VARCHAR2(25)
COUNTRY_ID
COUNTRY_NAME VARCHAR2(40)
LOCATION_ID
STREET ADDRESS VARCHAR2(25)
NUMBER
CHAR(2)
NUMBER
REGION_ID
NUMBER
POSTAL_CODE
VARCHAR2(12)
CITY
VARCHAR2(30)
STATE_PROVINCE VARCHAR2(12)
COUNTRY_ID
CHAR(2)
departments
employees
Y DEPARTMENT_ID
NUMBER
EMPLOYEE ID
NUMBER
DEPARTMENT_NAME VARCHAR2(30)
FIRST_NAME
VARCHAR2(20)
VARCHAR2(25)
VARCHAR2(25)
jobs
MANAGER_ID
NUMBER
LAST_NAME
LOCATION_ID
NUMBER
EMAIL
TJOB_ID
VARCHAR2(10)
PHONE_NUMBER
VARCHAR2(20)
JOB_TITLE
VARCHAR2(35)
HIRE DATE
DATE
MIN_SALARY NUMBER
MAX_SALARY NUMBER
00
JOB_ID
VARCHAR2(10)
SALARY
NUMBER
job_history
COMMISSION_PCT NUMBER
YEMPLOYEE ID
START DATE
END DATE
NUMBER
MANAGER_ID
NUMBER
DATE
DEPARTMENT_ID
NUMBER
job_grades
DATE
GRADE LEVEL VARCHAR2(2)
LOWEST SAL NUMBER
HIGHEST SAL NUMBER
JOB_ID
VARCHAR2(10)
00
DEPARTMENT_ID
NUMBER
1) The number of employees
2) The number of employees from US
3) The name of the employees with minimum salary
4) The average salary for Administration Vice President Job
5) The employees' name with the max salary for Shipping department
8]
81
81
-r
81
81
Transcribed Image Text:According to the following database structure, create the SQL statements for the next queries. regions countries locations REGION_ID REGION_NAME VARCHAR2(25) COUNTRY_ID COUNTRY_NAME VARCHAR2(40) LOCATION_ID STREET ADDRESS VARCHAR2(25) NUMBER CHAR(2) NUMBER REGION_ID NUMBER POSTAL_CODE VARCHAR2(12) CITY VARCHAR2(30) STATE_PROVINCE VARCHAR2(12) COUNTRY_ID CHAR(2) departments employees Y DEPARTMENT_ID NUMBER EMPLOYEE ID NUMBER DEPARTMENT_NAME VARCHAR2(30) FIRST_NAME VARCHAR2(20) VARCHAR2(25) VARCHAR2(25) jobs MANAGER_ID NUMBER LAST_NAME LOCATION_ID NUMBER EMAIL TJOB_ID VARCHAR2(10) PHONE_NUMBER VARCHAR2(20) JOB_TITLE VARCHAR2(35) HIRE DATE DATE MIN_SALARY NUMBER MAX_SALARY NUMBER 00 JOB_ID VARCHAR2(10) SALARY NUMBER job_history COMMISSION_PCT NUMBER YEMPLOYEE ID START DATE END DATE NUMBER MANAGER_ID NUMBER DATE DEPARTMENT_ID NUMBER job_grades DATE GRADE LEVEL VARCHAR2(2) LOWEST SAL NUMBER HIGHEST SAL NUMBER JOB_ID VARCHAR2(10) 00 DEPARTMENT_ID NUMBER 1) The number of employees 2) The number of employees from US 3) The name of the employees with minimum salary 4) The average salary for Administration Vice President Job 5) The employees' name with the max salary for Shipping department 8] 81 81 -r 81 81
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY