FOUNDATIONS FINAL EXAM ACTUAL EXAM
COMPLETE QUESTIONS AND CORRECT DETAILED
ANSWERS (100% CORRECT VERIFIED SOLUTIONS)
A NEW UPDATED VERSION |ALREADY GRADED A+
Which phrase refers to the view in which data is persisted and is automatically
changed as the underlying data is changed?
Virtual View
Snapshot View
Denormalized View
Materialized View
Materialized View
Which SQL command uses the correct syntax to update the salary of an
employee in the Employee table?
CHANGE Employee Salary = 50000 WHERE ID = 1; UPDATE
Employee SET Salary = 50000 WHERE ID = 1; ALTER Employee
SET Salary = 50000 WHERE ID = 1; UPDATE Employee (Salary)
= (50000) WHERE ID = 1;
UPDATE Employee SET Salary = 50000 WHERE ID = 1;
,What describes elements such as column name and data type?
Alter
Table
Metadata
CRUD
Metadata
Which term identifies an ordered collection of elements enclosed in
parenthesis in a tablespace?
Cell
Field
Column
Tuple
Tuple
,Which SQL command uses the correct syntax to select the name and salary
columns from the Employee table where the salary is greater than 50000,
and sort the results by salary in descending order?
-SELECT name, salary FROM Employee WHERE salary > 50000 ORDER + BY
salary DESC;
-SELECT Employee.name, Employee.salary WHERE Employee.salary >
50000 SORT BY Employee.salary DESC;
-SELECT name, salary FROM Employee SORT BY salary DESC WHERE salary
> 50000;
-SELECT name, salary FROM Employee WHERE salary > 50000 SORT BY salary
ASC;
SELECT name, salary FROM Employee WHERE salary > 50000 ORDER + BY
salary DESC;
Which INSERT statement demonstrates valid syntax in SQL?
INSERT INTO table_name (column1, column2) SET value1, value2; INSERT
INTO table_name VALUES (value1, value2);
INSERT INTO table_name (column1, column2) VALUES (value1, value2); INSERT
INTO table_name SET column1 = value1, column2 = value2;
INSERT INTO table_name (column1, column2) VALUES (value1, value2);
, Which UPDATE statement uses valid syntax in SQL?
UPDATE table_name column_name= value1 WHERE condition UPDATE
table_name SET column1 = value1, column2 = value2 WHERE condition;
UPDATE SET column1 = value1, column2 = value2 WHERE condition IN
table_name;
UPDATE table_name SET column_name = value1
UPDATE table_name SET column1 = value1, column2 = value2 WHERE condition;
Which statement used to remove data from temporary tables?
DROP
DELETE
DEFAULT
TRUNCATE
TRUNCATE