Professional Documents
Culture Documents
Performance Task 1 Prog 114 No. 2 B
Performance Task 1 Prog 114 No. 2 B
Question 1
Not yet answered
Display all employees id and remainder of the his/her salary after it is divided by 3,000 for all employees with the job id of IT_PROG.
Select one:
a. SELECT employee_id, job_id, salary, salary/3000 FROM employees WHERE job_id = 'IT_PROG'
b. SELECT employee_id, job_id, salary, MOD(salary, 3000) FROM employees WHERE job_id = 'IT_PROG'
c. SELECT employee_id, job_id, salary, REM(salary/3000) FROM employees WHERE job_id = 'IT_PROG'
d. SELECT employee_id, job_id, salary FROM employees WHERE job_id = 'IT_PROG' AND salary/3000
e. SELECT employee_id, job_id, salary FROM employees WHERE job_id = 'IT_PROG' AND MOD(salary, 3000)
Clear my choice
Question 2
Not yet answered
Display the first 3 letter in the first name of all the employees.
Select one:
a. SELECT SUBSTR(first_name,3) FROM employees;
Clear my choice
Question 3
Not yet answered
Using CREATE SQL Command, you can add new records in the table.
Select one:
True
False
https://shs.amaesonline.com/2022/mod/quiz/attempt.php?attempt=37663&cmid=3663 1/4
12/2/2020 Performance Task 1
Question 4
Not yet answered
Display the total number of characters of the last name of all the employees.
Select one:
a. SELECT TOTALCHAR(last_name),LAST_NAME FROM EMPLOYEES;
Clear my choice
Question 5
Not yet answered
Select one:
a. Structured Query Language
Clear my choice
Question 6
Not yet answered
Display part number description and warehouse number whose part number starts with letter K.
Select one:
a. SELECT partnum, description, warehouse FROM parts WHERE partnum = LIKE ‘K%’;
b. SELECT partnum, description, warehouse FROM parts WHERE partnum LIKE '*K*';
d. SELECT partnumber, description, warehouse FROM parts WHERE partnum = LIKE ‘K%’;
e. SELECT partnum, description, warehouse FROM parts WHERE partnum LIKE 'K%';
f. SELECT partnumber, description, warehouse FROM parts WHERE partnum LIKE 'K*';
Clear my choice
https://shs.amaesonline.com/2022/mod/quiz/attempt.php?attempt=37663&cmid=3663 2/4
12/2/2020 Performance Task 1
Question 7
Not yet answered
Display the last day of the month and the hiring date when the employees are hired in the company.
Select one:
a. SELECT LDAY(hire_date), hire_date FROM employees;
Clear my choice
Question 8
Not yet answered
Select one:
a. DISPLAY STRUCTURE
b. DISPLAY TABLE
c. DESCRIBE
d. DISPLAY
Clear my choice
Question 9
Not yet answered
Select one:
a. SELECT partnum FROM parts WHERE NOT IN class ('HW', 'AG', SG')
b. SELECT partnum FROM parts WHERE class NOT IN = (‘HW’, AG’, SG’)
d. SELECT partnum FROM parts WHERE class NOT IN ('HW', 'AG', SG')
Clear my choice
https://shs.amaesonline.com/2022/mod/quiz/attempt.php?attempt=37663&cmid=3663 3/4
12/2/2020 Performance Task 1
Question 10
Not yet answered
Select one:
a. foreign key
b. relational key
c. local key
d. primary key
e. index key
Clear my choice
Jump to...
Written Work 1 ►
https://shs.amaesonline.com/2022/mod/quiz/attempt.php?attempt=37663&cmid=3663 4/4