Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Dashboard My courses CS-352-LEC-1913T Week 14: Final Exam Finals
Question 1 This is a join clause used when the columns in two or more
Answer saved tables have the same but of different data type.
Marked out of
1.00 Select one:
a. ON
b. Inner Join
c. Outer Join
d. Using
Clear my choice
Clear my choice
b. Table Alias
c. Table Prefixes
d. Column Prefixes
Clear my choice
Question 4 This is a schema that pertains to the actual storage of data and
Answer saved its form of storage like files, indices.
Marked out of
1.00 Select one:
a. Physical Database Schema
Clear my choice
https://blended.amauonline.com/mod/quiz/attempt.php 1/20
7/31/2019 Finals
Question 6 Which of the following is not true about complex view when
Answer saved using INSERT statement?
Marked out of
1.00 Select one:
a. All of the choices
Clear my choice
Question 7 Which of the following is not true about complex view when
Answer saved using DELETE statement?
Marked out of
1.00 Select one:
a. All of the choices
Clear my choice
b. =
c. IN
d. ANY
Clear my choice
https://blended.amauonline.com/mod/quiz/attempt.php 2/20
7/31/2019 Finals
b. SSS id
c. Workers
d. Accession_no
Clear my choice
Select one:
a. Employee in Employees table with lastname equal to Cruz
will be deleted.
Clear my choice
b. ANY
c. ALL
d. IN
Clear my choice
https://blended.amauonline.com/mod/quiz/attempt.php 3/20
7/31/2019 Finals
Question 12 It is join between two tables that return the result of an Inner
Answer saved Join as well as the results of Left and Right joins.
Marked out of
1.00 Select one:
a. Inner Join
b. Outer Join
c. ON
d. Using
Clear my choice
Question 13 This of the following is not part of comparison condition used in
Answer saved single row subquery.
Marked out of
1.00 Select one:
a. IN
b. >
c. <
d. <>
Clear my choice
Clear my choice
Question 15 It is a join of two or more table that returns only matched rows.
Answer saved
b. Inner Join
c. ON
d. Outer Join
Clear my choice
https://blended.amauonline.com/mod/quiz/attempt.php 4/20
7/31/2019 Finals
What will be the output if the user uses this PL/SQL.
DELETE FROM WORKERS
Clear my choice
Select one:
a. The given statement is an Equijoin
Clear my choice
Clear my choice
https://blended.amauonline.com/mod/quiz/attempt.php 5/20
7/31/2019 Finals
Question 19 This is a join clause used when the columns in two or more
Answer saved tables have the same but of different data type.
Marked out of
1.00 Select one:
a. Using
b. ON
c. Outer Join
d. Inner Join
Clear my choice
Question 20 SELECT employees.employee_id,
Answer saved employees.lastname,employees.department_id,
Marked out of departments.department_id,departments.location_id
1.00 FROM employees, departments
WHERE employees.department_id (+)=
departments.department_id;
Select one:
a. The given statement would cause Cartesian or Cross Join
Clear my choice
Select one:
a. The given statement would cause Cartesian or Cross Join
Clear my choice
https://blended.amauonline.com/mod/quiz/attempt.php 6/20
7/31/2019 Finals
Question 22
Answer saved
Marked out of
1.00
Select one:
a. GIETZ, WILLIAM
d. LORENTZ, DIANA
Clear my choice
https://blended.amauonline.com/mod/quiz/attempt.php 7/20
7/31/2019 Finals
Select one:
a. INSERT INTO EMPLOYEES(ID, LASTNAME, DEPARTMENT)
SELECT *
FROM WORKERS
WHERE STATUS = ‘Regular’;
Clear my choice
Question 24 A join condition that is based on all the columns in two or more
Answer saved table that have the same name.
Marked out of
1.00 Select one:
a. Cartesian Product
b. Self-Join
c. Natural Join
d. Cross Join
Clear my choice
https://blended.amauonline.com/mod/quiz/attempt.php 8/20
7/31/2019 Finals
Question 25
Answer saved
Marked out of
1.00
Select one:
a. NO DML operations allowed on this view.
Clear my choice
b. >=
c. <>
d. IN
Clear my choice
Select one:
a. The given statement is Outer Join
Clear my choice
https://blended.amauonline.com/mod/quiz/attempt.php 9/20
7/31/2019 Finals
Select one:
a. All Workers lastname will be set to NULL
Clear my choice
Question 29
Answer saved
Marked out of
1.00
Select one:
a. The record of book OS will be removed in the
COPY_AUTHORS view since its YR_PUBLIHED is updated to 2016
Clear my choice
https://blended.amauonline.com/mod/quiz/attempt.php 10/20
7/31/2019 Finals
b. Cross Join
c. Cartesian Product
d. Self-Join
Clear my choice
Question 31 Which of the following is the correct example of creating a
Answer saved subquery that will copy all values from employees table to
Marked out of workers where job_id is equal to ST_CLERK;
1.00
Select one:
a. INSERT INTO WORKERS
SELECT * FROM EMPLOYEES
WHERE JOB_ID = ‘ST_CLERK’;
Clear my choice
https://blended.amauonline.com/mod/quiz/attempt.php 11/20
7/31/2019 Finals
Question 32
Answer saved
Marked out of
1.00
JOIN LOCATIONS
USING (LOCATION_ID);
Select one:
a. MAGDALENCENTER
b. 2014 JABBERWACKY
c. 460 RDBLOOR SY
d. 2004 CHARADE RD
Clear my choice
https://blended.amauonline.com/mod/quiz/attempt.php 12/20
7/31/2019 Finals
Select one:
a. The given statement is not a valid join condition or is
incorrect
Clear my choice
Question 34 SELECT employees.employee_id,
Answer saved employees.lastname,employees.department_id,
Marked out of departments.department_id,departments.location_id FROM
1.00 employees JOIN departments WHERE employees.department_id
= departments.department_id;
Select one:
a. The given statement would cause Cartesian or Cross Join
Clear my choice
b. Super Key
c. Primary Key
d. Key
Clear my choice
https://blended.amauonline.com/mod/quiz/attempt.php 13/20
7/31/2019 Finals
Clear my choice
Question 37 Which of the following is not true about complex view when
Answer saved using UPDATE statement?
Marked out of
1.00 Select one:
a. All of the choices
Clear my choice
Select one:
a. The given statement is Outer Join
Clear my choice
https://blended.amauonline.com/mod/quiz/attempt.php 14/20
7/31/2019 Finals
Select one:
a. All Workers department will be set to HRD
Clear my choice
b. Cartesian Product
c. Self-Join
d. Natural Join
Clear my choice
https://blended.amauonline.com/mod/quiz/attempt.php 15/20
7/31/2019 Finals
Select one:
a. This will retrieve the record of Subion, Mortos and
Santiago
Clear my choice
Clear my choice
https://blended.amauonline.com/mod/quiz/attempt.php 16/20
7/31/2019 Finals
Question 43
Answer saved
Marked out of
1.00
Select one:
a. Cause an error because the JOIN condition is omitted.
b. It will successfully create the view that join 1 table to
another table.
c. The OR REPLACE on the code should be omitted.
Clear my choice
Select one:
a. The values of Employee with ID number 105 will be deleted
Clear my choice
https://blended.amauonline.com/mod/quiz/attempt.php 17/20
7/31/2019 Finals
Question 46 This is a type of attribute that is made of more than one simple
Answer saved attribute.
Marked out of
1.00 Select one:
a. Natural Attribute
b. Derived Attribute
c. Simple Attribute
d. Composite Attribute
Clear my choice
Select one:
a. This will retrieve the record of Mortos and Santiago
Clear my choice
https://blended.amauonline.com/mod/quiz/attempt.php 18/20
7/31/2019 Finals
b. Column Prefixes
c. Table Prefixes
d. Table Alias
Clear my choice
Question 49 Which of the following is the correct query that will create a
Answer saved report that will display the following: STREET_ADDRESS, CITY,
Marked out of DEPARTMENT_NAME and LOATION_ID? Use using clause to get the
1.00 data from two tables.
Select one:
a. SELECT STREET_ADDRESS, CITY, DEPARTMENT_NAME,
LOCATION_ID
FROM DEPARTMENTS
JOIN LOCATIONS
USING (LOCATIONS);
Clear my choice
Select one:
a. The given statement would cause Cartesian or Cross Join
Clear my choice
Stay in touch
AMA EDUCATION SYSTEM
https://blended.amauonline.com/mod/quiz/attempt.php 19/20
7/31/2019 Finals
https://blended.amauonline.com/helpdesk
https://blended.amauonline.com/mod/quiz/attempt.php 20/20