Question 11
Which statement is used to define a named group of related tables, views, domains and other database objects?
- CREATE
- CREATE TABLE
- CREATE DOMAIN
- CREATE SCHEMA
Question 12
Which of the following best describes the ON DELETE NO ACTION referential integrity constraint?
- If a parent key is deleted, any child keys referenced by the parent key are automatically deleted.
- If a parent key is deleted, no test is made for referential integrity.
- If any child key references a parent key, the record containing the parent key cannot be deleted.
- If a parent key is deleted, all child keys are automatically set to a specified value. C
Question 13
Consider the following relational algebraic expression: Which of the following SQL statements is equivalent to this relational algebraic expression?
- SELECT * FROM Customers, Employees WHERE Sales_Rep_No = Cust_No;
- SELECT Cust_No, Cust_Name, Emp_Name, Emp_Loc FROM Customers, Employees WHERE Customers.Sales_Rep_No = Employees.Sales_Rep_No;
- SELECT Cust_No, Cust_Name, Emp_Name, Emp_Loc FROM Customers, Employees WHERE Employees.Sales_Rep_No = Customers.Sales_Rep_No;
- SELECT * FROM Customers, Employees WHERE Customers.Sales_Rep_No = Employees.Sales_Rep_No;
Question 14
What is a domain?
- A normalized set of data applicable to a particular relation
- A combination of attributes for a relation
- A definition of permissible values for one or more attributes
- A set of permissible values for one or more relations
Question 15
For the Employee relation shown in the exhibit, which set of column value holds the complete tuple for the employee named James Smith?
- 0002, James, Smith
- 0002, James, Smith, 10-25-76
- First_Name, James, Last_Name, Smith
- Emp_ID, 0002, First_Name, James, Last_Name, Smith