The document contains 10 SQL queries that retrieve data from various tables to:
1) Select employee details and salary classifications from the Employees table.
2) Join the Locations and Countries tables to retrieve location details for specific region IDs.
3) Select employee names and hire dates that start with J from the Employees and Jobs tables.
4) Retrieve employee details for those in the Accounting department from the Employees and Departments tables.
The document contains 10 SQL queries that retrieve data from various tables to:
1) Select employee details and salary classifications from the Employees table.
2) Join the Locations and Countries tables to retrieve location details for specific region IDs.
3) Select employee names and hire dates that start with J from the Employees and Jobs tables.
4) Retrieve employee details for those in the Accounting department from the Employees and Departments tables.
The document contains 10 SQL queries that retrieve data from various tables to:
1) Select employee details and salary classifications from the Employees table.
2) Join the Locations and Countries tables to retrieve location details for specific region IDs.
3) Select employee names and hire dates that start with J from the Employees and Jobs tables.
4) Retrieve employee details for those in the Accounting department from the Employees and Departments tables.
yyyy')"tanggal",DEPARTMENT_NAME "DEPT" FROM EMPLOYEES E JOIN DEPARTMENTS D ON(E.DEPARTMENT_ID=D.DEPARTMENT_ID) WHERE DEPARTMENT_NAME='Accounting' 5. SELECT DEPARTMENT_ID, DEPARTMENT_NAME, CITY FROM DEPARTMENTS D JOIN LOCATIONS L ON(D.LOCATION_ID=L.LOCATION_ID) WHERE DEPARTMENT_NAME LIKE 'C%'
6. SELECT LOCATION_ID, CITY, COUNTRY_NAME FROM LOCATIONS L JOIN COUNTRIES C
ON(L.COUNTRY_ID=C.COUNTRY_ID) WHERE COUNTRY_NAME IN('United Kingdom','Italy')
7. SELECT JOB_TITLE, COUNT(EMPLOYEE_ID)"JUMLAH" FROM EMPLOYEES E JOIN JOBS J
ON(E.JOB_ID=J.JOB_ID)GROUP BY JOB_TITLE
8. SELECT FIRST_NAME,HIRE_DATE,JOB_ID,SALARY "MIN_SALARY" FROM EMPLOYEES WHERE
HIRE_DATE LIKE '%94'
9. SELECT LOCATION_ID, STREET_ADDRESS, CITY, STATE_PROVINCE, COUNTRY_NAME FROM
LOCATIONS L JOIN COUNTRIES C ON(L.COUNTRY_ID=C.COUNTRY_ID)WHERE LOCATION_ID BETWEEN '1000' AND '2500'