Performance Task 1 - Attempt Review Prog 114
Performance Task 1 - Attempt Review Prog 114
Question 1
Complete
Display the name, jobs id and salary of the all the employees whose department id is 100 and salary is below 8000. Arrange the output by
salary in ascending order.
Select one:
a. SELECT first_name, last_name, salary FROM employees WHERE salary < 8000 AND department_id = 100 AND ORDER BY
department_id
b. SELECT first_name, last_name, salary FROM employees WHERE department_id = 100 AND salary < 8000 ORDER BY salary
c. SELECT first_name, last_name, salary FROM employees ORDER BY salary WHERE department_id = 100 AND salary > 8000
d. SELECT name, salary FROM employees WHERE department_id = 100 AND salary < 8000 ORDER BY salary ASC
e. SELECT employees FROM first_name, last_name, salary WHERE department_id = 100 AND salary < 8000 ORDER BY salary ASC
f. SELECT name FROM employees WHERE salary < 8000 AND department_id = 100 AND ORDER BY department_id
Question 2
Complete
Display the employee id, number of years and the hiring date of every employee in the company.
Select one:
a. SELECT employee_id, hire_date, hire_date- SYSDATE /365 FROM employees;
https://shs.amaesonline.com/2022/mod/quiz/review.php?attempt=37773&cmid=3663 1/4
12/2/2020 Performance Task 1: Attempt review
Question 3
Complete
Select one:
a. Oracle SQL Developer; ANSI SQL Web
Question 4
Complete
Using Data Manipulation Language, you can ADD columns in the table.
Select one:
True
False
Question 5
Complete
Which of the following SELECT statement is the correct report that will display the unique value for WAREHOUSE renames the column as
"No. of Available Warehouse".
Select one:
a. SELECT DISTINCT WAREHOUSE AS "No. of available warehouse" FROM PARTS;
https://shs.amaesonline.com/2022/mod/quiz/review.php?attempt=37773&cmid=3663 2/4
12/2/2020 Performance Task 1: Attempt review
Question 6
Complete
Display all the employee's id and salary whose annual salary is from 100,000 to 200,000. Arrange the output by salary in descending order.
Select one:
a. SELECT employee_id, salary FROM employees WHERE salary *12 >= 100000 AND salary *12 <= 200000 ORDER BY salary
b. SELECT employee_id, salary, salary *12 FROM employees WHERE 12* salary = 100000 AND 12 *salary = 200000 ORDER BY salary
c. SELECT employee_id, salary FROM employees WHERE salary *12 >= 100000 AND salary *12 <= 200000 ORDER BY salary desc
d. SELECT employee_id, salary FROM employees WHERE salary >= 100000 AND salary <= 200000 ORDER BY salary
Question 7
Complete
Which of the following SELECT statement is the correctreport the will merge the column CLASS and PRICE rename the COLUMN as "CLASS
PRICE".
Select one:
a. SELECT (CLASS||PRICE) AS "CLASS PRICE" FROM PARTS;
Question 8
Complete
Display the montly salary of every employee. Round the salary in 2 decimal places.
Select one:
a. SELECT (ROUND(salary,2) )/12 FROM employees;
https://shs.amaesonline.com/2022/mod/quiz/review.php?attempt=37773&cmid=3663 3/4
12/2/2020 Performance Task 1: Attempt review
Question 9
Complete
Ronnie is the stockman in the warehouse of ATR Corporation. The General Manager wants to know the parts whose price is above 10000
and above. Which of the following SQL command that Ronnie will run to generate the list.
Select one:
a. SELECT parts FROM price WHERE price >= 10000;
Question 10
Complete
Which of the following SELECT statement is the correct PL/SQL that willcreate a report specifying only the column PRICE, ONHAND and
DESCRIPTION?
Select one:
a. SELECT PRICE, ONHAND, DESCRIPTION FROM PARTS;
Jump to...
Written Work 1 ►
https://shs.amaesonline.com/2022/mod/quiz/review.php?attempt=37773&cmid=3663 4/4