Вы находитесь на странице: 1из 23

,m Test: Institute Exit Exam

Section 1 1. You want to create a report that displays all orders and their amounts tha t were placed during the month of January. You want the orders with the highest amounts to appear first. Which query should you issue? Mar for Review (1) Points SELECT orderid, total FROM orders WHERE order_date LIKE '01-jan-02' AND '31-jan-02' ORDER BY total DESC; SELECT orderid, total FROM orders WHERE order_date IN ( 01-jan-02 , 31-jan-02 ) ORDER BY total; SELECT orderid, total FROM orders WHERE order_date BETWEEN '01-jan-02' AND '31-jan-02' ORDER BY total DESC; (*) SELECT orderid, total FROM orders WHERE order_date BETWEEN '31-jan-02' AND '01-jan-02' ORDER BY total DESC;

Incorrect. Refer to Section 1

SELECT (30 + hire_date) + 1440/24 FROM employees; SELECT (SYSDATE - hire_date) + 10*8 FROM employees; (*) SELECT SYSDATE - TO_DATE('25-JUN-02') + hire_date FROM employees; SELECT (hire_date - SYSDATE) + TO_DATE('25-JUN-02')

2. Which SELECT statement will NOT return a date value? Mar (1) Points

for Review

Review your answers, feedbac , and question scores below. An asteris tes a correct answer.

(*) indica

FROM employees;

Incorrect. Refer to Section 1 3. You issue this SQL statement: SELECT TRUNC(751.367,-1) FROM dual; Which value does this statement display? Mar for Review (1) Points

4. Evaluate this SELECT statement: SELECT LENGTH(email) FROM employee; What will this SELECT statement display? Mar for Review (1) Points

The number of characters for each value in the EMAIL column in the employees table (*) The maximum number of characters allowed in the EMAIL column Incorrect. Refer to Section 1 5. Which SQL function is used to return the position where a specific charact er string begins within a larger character string? Mar for Review (1) Points CONCAT INSTR (*) LENGTH SUBSTR

700 750 (*) 751 751.3 Incorrect. Refer to Section 1

The longest e-mail address in the EMPLOYEE table The email address of each employee in the EMPLOYEE table

Incorrect. Refer to Section 1

Section 2 6. The PRODUCT table contains this column: PRICE NUMBER(7,2) Evaluate this statement: SELECT NVL(10 / price, 4) FROM PRODUCT; What would happen if the PRICE column contains null values? Mar for Review (1) Points

7. Which SQL Statement should you use to display the prices in this format: " $00.30"? Mar for Review (1) Points SELECT TO_CHAR(price, '$99,900.99') FROM product; (*) SELECT TO_CHAR(price, '$99,900.99') FROM product; SELECT TO_CHAR(price, '$99,990.99') FROM product; SELECT TO_NUMBER(price, '$99,900.99') FROM product;

Incorrect. Refer to Section 2 8. Which two statements concerning SQL functions are true? (Choose two.) Mar for Review (1) Points (Choose all correct answers) Character functions can accept numeric input.

The statement would fail because values cannot be divided by 4. A value of 4 would be displayed. (*) A value of 0 would be displayed. The statement would fail because values cannot be divided by null. Incorrect. Refer to Section 2

Not all date functions return date values. (*) Number functions can return number or character values. Conversion functions convert a value from one data type to another data type . (*) Single-row functions manipulate groups of rows to return one result per grou p of rows. Incorrect. Refer to Section 2

Section 3 9. You have been as ed to create a report that lists all corporate customers and all orders that they have placed. The customers should be listed alphabetica lly beginning with the letter 'A', and their corresponding order totals should b e sorted from the highest amount to the lowest amount. Which of the following statements should you issue? Mar for Review (1) Points SELECT c.custid, c.companyname, o.orderdate, o. custid, o.amount FROM customers c, orders o WHERE c.custid = o.custid ORDER BY amount DESC, companyname; SELECT c.custid, c.companyname, o.orderdate, o. custid, o.amount FROM customers c, orders o WHERE c.custid = o.custid ORDER BY companyname, amount DESC; (*) SELECT c.custid, c.companyname, o.orderdate, o. custid, o.amount FROM customers c, orders o WHERE c.custid = o.custid ORDER BY companyname, amount; SELECT c.custid, c.companyname, o.orderdate, o. custid, o.amount FROM customers c, orders o WHERE c.custid = o.custid ORDER BY companyname ASC, amount ASC;

Incorrect. Refer to Section 3 10. You need to provide a list of the first and last names of all employees w ho wor in the Sales department who earned a bonus and had sales over $50,000. T he company president would li e the sales listed starting with the highest amoun t first. The EMPLOYEES table and the SALES_DEPT table contain the following colu mns:

EMPLOYEES EMPLOYEE_ID NUMBER(10) PRIMARY KEY LAST_NAME VARCHAR2(20) FIRST_NAME VARCHAR2(20) DEPARTMENT_ID VARCHAR2(20) HIRE_DATE DATE SALARY NUMBER(10) SALES_DEPT SALES_ID NUMBER(10) PRIMARY KEY SALES NUMBER(20) QUOTA NUMBER(20) MANAGER VARCHAR2(30) BONUS NUMBER(10) EMPLOYEE_ID NUMBER(10) FOREIGN KEY Which SELECT statement will accomplish this tas ? Mar for Review (1) Points SELECT e.employee_id, e.last_name, e.first_name, s.employee_id, s.bonus, s.s ales FROM employees e, sales_dept s ORDER BY sales DESC WHERE e.employee_id = s.employee_id AND sales > 50000 AND s.bonus IS NOT NULL; SELECT e.employee_id, e.last_name, e.first_name, s.employee_id, s.bonus, s. sales ORDER BY sales DESC FROM employees e, sales_dept s WHERE e.employee_id = s.employee_id AND s.bonus IS NOT NULL AND sales > 50000; SELECT e.employee_id, e.last_name, e.first_name, s.employee_id, s.bonus, s. sales WHERE e.employee_id = s.employee_id FROM employees e, sales_dept s AND s.bonus IS NOT NULL AND sales > 50000 ORDER BY sales DESC; SELECT e.employee_id, e.last_name, e.first_name, s.employee_id, s.bonus, s. sales FROM employees e, sales_dept s WHERE e.employee_id = s.employee_id AND s.bonus IS NOT NULL AND sales > 50000 ORDER BY sales DESC; (*)

Incorrect. Refer to Section 3

Page 1 of 5

Test: Institute Exit Exam

Section 3 11. Which of the following best describes the function of an outer join? Mar for Review (1) Points An outer join will return only those rows that do not meet the join criteria . An outer join will return only data from the far left column in one table an d the far right column in the other table. An outer join will return data only if both tables contain an identical pair of columns. An outer join will return all rows that meet the join criteria and will retu rn NULL values from one table if no rows from the other table satisfy the join c riteria. (*) Incorrect. Refer to Section 3

Section 4 12. Which eyword in a SELECT statement creates an equijoin by specifying a c olumn name common to both tables? Mar for Review (1) Points A HAVING clause The FROM clause The SELECT clause A USING clause (*) Incorrect. Refer to Section 4 13. You need to display all the rows from both the EMPLOYEES and EMPLOYEE_HIS T tables. Which type of join would you use? Mar for Review (1) Points A right outer join A left outer join A full outer join (*)

Review your answers, feedbac , and question scores below. An asteris tes a correct answer.

(*) indica

An inner join Incorrect. Refer to Section 4 14. The following SQL statement will produce what output? SELECT last_name, department_name FROM employees CROSS JOIN departments; Mar for Review (1) Points

Section 5 15. The VENDORS table contains these columns: VENDOR_ID NUMBER Primary Key NAME VARCHAR2(30) LOCATION_ID NUMBER ORDER_DT DATE ORDER_AMOUNT NUMBER(8,2) Which two clauses represent valid uses of aggregate functions for this table? Mar for Review (1) Points (Choose all correct answers) FROM MAX(order_dt) SELECT SUM(order_dt) SELECT SUM(order_amount) (*) WHERE MAX(order_dt) = order_dt SELECT MIN(AVG(order_amount)) (*) Incorrect. Refer to Section 5 16. Which group function would you use to display the highest salary value in the EMPLOYEES table? Mar for Review (1) Points

The missing rows from the join condition. The last_name and department name from the employees table. A Cartesian product between the two tables. (*) A cross referenced result omitting similar fields from the two tables. Incorrect. Refer to Section 4

AVG COUNT MAX (*) MIN Incorrect. Refer to Section 5 17. Which group function would you use to display the total of all salary val ues in the EMPLOYEES table? Mar for Review (1) Points SUM (*) AVG COUNT MAX Incorrect. Refer to Section 5 18. The CUSTOMERS table contains these columns: CUSTOMER_ID NUMBER(9) FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(30) CREDIT_LIMIT NUMBER (7,2) CATEGORY VARCHAR2(20) You need to calculate the average credit limit for all the customers in each cat egory. The average should be calculated based on all the rows in the table exclu ding any customers who have not yet been assigned a credit limit value. Which gr oup function should you use to calculate this value? Mar for Review (1) Points

AVG (*) SUM COUNT STDDEV Incorrect. Refer to Section 5

The COUNT function ignores duplicates by default.

19. Which statement about the COUNT function is true? Mar (1) Points

for Review

The COUNT function always ignores null values by default. (*) The COUNT function can be used to find the maximum value in each column. The COUNT function can be used to determine the number of unique, non-null v alues in a column. Incorrect. Refer to Section 5 20. Evaluate this SQL statement: SELECT COUNT (amount) FROM inventory; What will occur when the statement is issued? Mar for Review (1) Points

The statement will count the number of rows in the INVENTORY table where the AMOUNT column is not null. (*) Incorrect. Refer to Section 5

Page 2 of 5

Test: Institute Exit Exam

Section 5 21. Which statement about the GROUP BY clause is true? Mar for Review (1) Points The first column listed in the GROUP BY clause is the most major grouping. ( *) The last column listed in the GROUP BY clause is the most major grouping. The GROUP BY clause can contain an aggregate function.

Review your answers, feedbac , and question scores below. An asteris tes a correct answer.

The statement will return the greatest value in the INVENTORY table. The statement will return the total number of rows in the AMOUNT column. The statement will replace all NULL values that exist in the AMOUNT column.

(*) indica

A GROUP BY clause cannot be used without an ORDER BY clause. Incorrect. Refer to Section 5

Section 6 22. You need to create a report to display the names of products with a cost value greater than the average cost of all products. Which SELECT statement shou ld you use? Mar for Review (1) Points SELECT product_name FROM products WHERE cost > (SELECT AVG(cost) FROM product); (*) SELECT product_name FROM products WHERE cost > AVG(cost); SELECT AVG(cost), product_name FROM products WHERE cost > AVG(cost) GROUP by product_name; SELECT product_name FROM (SELECT AVG(cost) FROM product) WHERE cost > AVG(cost);

Incorrect. Refer to Section 6 23. The MANUFACTURER table contains these columns: MANUFACTURER_ID NUMBER MANUFACTURER_NAME VARCHAR2(30) TYPE VARCHAR2(25) LOCATION_ID NUMBER You need to display the number of unique types of manufacturers at each location . Which SELECT statement should you use? Mar for Review (1) Points SELECT location_id, COUNT(DISTINCT type) FROM manufacturer GROUP BY location_id; (*) SELECT location_id, COUNT(DISTINCT type)

FROM manufacturer; SELECT location_id, COUNT(type) FROM manufacturer GROUP BY location_id; SELECT location_id, COUNT(DISTINCT type) FROM manufacturer GROUP BY type;

Incorrect. Refer to Section 6 24. Evaluate the structure of the EMPLOYEES and DEPART_HIST tables: EMPLOYEES EMPLOYEE_ID NUMBER(9) LAST_NAME VARCHAR2(25) FIRST_NAME VARCHAR2(25) DEPARTMENT_ID NUMBER(9) MANAGER_ID NUMBER(9) SALARY NUMBER(7,2) DEPART_HIST: EMPLOYEE_ID NUMBER(9) OLD_DEPT_ID NUMBER(9) NEW_DEPT_ID NUMBER(9) CHANGE_DATE DATE You want to generate a list of employees who are in department 10, but used to b e in department 15. Which query should you use? Mar for Review (1) Points SELECT employee_id, last_name, first_name, department_id FROM employees WHERE (employee_id, department_id) IN (SELECT employee_id, new_dept_id FROM depart_hist WHERE old_dept_id = 15) AND new_dept_id = 10; (*) SELECT employee_id, last_name, first_name, department_id FROM employees WHERE (employee_id) IN (SELECT employee_id FROM employee_hist WHERE old_dept_id = 15); SELECT employee_id, last_name, first_name, department_id FROM employees WHERE (employee_id, department_id) = (SELECT employee_id, new_dept_id FROM depart_hist WHERE new_dept_id = 15);

SELECT employee_id, last_name, first_name, department_id FROM employees WHERE (employee_id, department_id) IN (SELECT employee_id, dept_id FROM employees WHERE old_dept_id = 15);

Incorrect. Refer to Section 6 25. Which of the following statements contains a comparison operator that is used to restrict rows based on a list of values returned from an inner query? M ar for Review (1) Points SELECT description FROM d_types WHERE code IN (SELECT type_code FROM d_songs); SELECT description FROM d_types WHERE code = ANY (SELECT type_code FROM d_songs); SELECT description FROM d_types WHERE code <> ALL (SELECT type_code FROM d_songs); All of the above. (*) Incorrect. Refer to Section 6 26. Evaluate this SELECT statement: SELECT player_id, name FROM players WHERE team_id IN (SELECT team_id FROM teams WHERE team_id > 300 AND salary_cap > 400000); What would happen if the inner query returned a NULL value? Mar for Review (1) Points

No rows would be returned by the outer query. (*) A syntax error in the outer query would be returned. A syntax error in the inner query would be returned. All the rows in the PLAYER table would be returned by the outer query.

Incorrect. Refer to Section 6 27. Examine the following EMPLOYEES table: EMPLOYEES EMPLOYEE_ID NUMBER(9) LAST_NAME VARCHAR2(25) FIRST_NAME VARCHAR2(25) DEPARTMENT_ID NUMBER(9) SUPERVISOR_ID NUMBER(9) You need to produce a report that contains all employee-related information for those employees who have Brad Carter as a supervisor. However, you are not sure which supervisor ID belongs to Brad Carter. Which query should you issue to acco mplish this tas ? Mar for Review (1) Points SELECT * FROM employees WHERE supervisor_id = (SELECT supervisor_id FROM employees WHERE last_name = 'Carter'); SELECT * FROM supervisors WHERE supervisor_id = (SELECT supervisor_id FROM employees WHERE last_name = 'Carter'); SELECT * FROM supervisors WHERE supervisor_id = (SELECT employee_id FROM supervisors WHERE last_name = 'Carter'); SELECT * FROM employees WHERE supervisor_id = (SELECT employee_id FROM employees WHERE last_name = 'Carter'); (*)

Incorrect. Refer to Section 6

Section 7

28. The STUDENTS table contains these columns: STU_ID NUMBER(9) NOT NULL LAST_NAME VARCHAR2 (30) NOT NULL FIRST_NAME VARCHAR2 (25) NOT NULL DOB DATE STU_TYPE_ID VARCHAR2(1) NOT NULL ENROLL_DATE DATE You create another table, named FT_STUDENTS, with an identical structure.You wan t to insert all full-time students, who have a STU_TYPE_ID value of "F", into th e new table. You execute this INSERT statement: INSERT INTO ft_students (SELECT stu_id, last_name, first_name, dob, stu_type_id, enroll_date FROM students WHERE UPPER(stu_type_id) = 'F'); What is the result of executing this INSERT statement? Mar for Review (1) Points

e. Incorrect. Refer to Section 7 29. Which of the following represents the correct syntax for an INSERT statem ent? Mar for Review (1) Points INSERT VALUES INTO customers (3178 J. Smith 123 Main Street Nashville TN 377 77; INSERT INTO customers VALUES '3178' 'J.' 'Smith' '123 Main Street' 'Nashvill e' 'TN' '37777'; INSERT INTO customers VALUES ('3178', 'J.', 'Smith', '123 Main Street', 'Nas hville', 'TN', '37777'); (*) INSERT customers VALUES 3178, J., Smith, 123 Main Street, Nashville, TN, 377 77; Incorrect. Refer to Section 7 30. One of the sales representatives, Janet Roper, has informed you that she was recently married, and she has requested that you update her name in the empl oyee database. Her new last name is Cooper. Janet is the only person with the la st name of Roper that is employed by the company. The EMPLOYEES table contains t hese columns and all data is stored in lowercase:

All full-time students are inserted into the FT_STUDENTS table. (*) An error occurs because the FT_STUDENTS table already exists. An error occurs because you CANNOT use a subquery in an INSERT statement. An error occurs because the INSERT statement does NOT contain a VALUES claus

EMPLOYEE_ID NUMBER(10) PRIMARY KEY LAST_NAME VARCHAR2(20) FIRST_NAME VARCHAR2(20) DEPARTMENT_ID VARCHAR2 (20) HIRE_DATE DATE SALARY NUMBER(10) Which UPDATE statement will accomplish your objective? Mar for Review (1) Points UPDATE employees SET last_name = 'cooper' WHERE last_name = 'roper'; (*) UPDATE employees last_name = 'cooper' WHERE last_name = 'roper'; UPDATE employees SET last_name = 'roper' WHERE last_name = 'cooper'; UPDATE employees SET cooper = 'last_name' WHERE last_name = 'roper';

Page 3 of 5

Test: Institute Exit Exam

Section 8 31. You are designing a table for the Sales department. You need to include a column that contains each sales total. Which data type should you specify for t his column? Mar for Review (1) Points CHAR DATE

Review your answers, feedbac , and question scores below. An asteris tes a correct answer.

Incorrect. Refer to Section 7

(*) indica

NUMBER (*) VARCHAR2 Incorrect. Refer to Section 8

The BFILE data type stores character data up to four gigabytes in the databa se. The TIMESTAMP data type is a character data type. The VARCHAR2 data type should be used for fixed-length character data. The CHAR data type requires that a minimum size be specified when defining a column of this type. (*) Incorrect. Refer to Section 8

With a CREATE TABLE statement, a table will always be created in the current user's schema. If no schema is explicitly included in a CREATE TABLE statement, the table i s created in the current user's schema. (*) If no schema is explicitly included in a CREATE TABLE statement, the CREATE TABLE statement will fail. If a schema is explicitly included in a CREATE TABLE statement and the schem a does not exist, it will be created. Incorrect. Refer to Section 8 34. Which command could you use to quic ly remove all data from the rows in a table without deleting the table itself? Mar for Review (1) Points ALTER TABLE DROP TABLE MODIFY TRUNCATE TABLE (*) Incorrect. Refer to Section 8 Lesson 3

33. Which statement about creating a table is true? Mar (1) Points

32. Which statement about data types is true? Mar (1) Points

for Review

for Review

35. You need to truncate the EMPLOYEES table. The EMPLOYEES table is not in y our schema. Which privilege must you have to truncate the table? Mar for Revie w (1) Points The DROP ANY TABLE system privilege (*) The TRUNCATE ANY TABLE system privilege The CREATE ANY TABLE system privilege The ALTER ANY TABLE system privilege Incorrect. Refer to Section 8 Lesson 3

Section 9 36. You need to add a NOT NULL constraint to the EMAIL column in the EMPLOYEE S table. Which clause should you use? Mar for Review (1) Points ADD CHANGE MODIFY (*) DISABLE Incorrect. Refer to Section 9 37. You can view the columns used in a constraint defined for a specific tabl e by loo ing at which data dictionary table? Mar for Review (1) Points USER_CONS_COLUMNS (*) CONSTRAINTS_ALL_COLUMNS SYS_DATA_DICT_COLUMNS US_CON_SYS Incorrect. Refer to Section 9 38. You need to create the PROJECT_HIST table. The table must meet these requ irements: The table must contain the EMPLOYEE_ID and TASKED_HOURS columns for numeric data . The table must contain the START_DATE and END_DATE column for date values.

The table must contain the HOURLY_RATE and PROJECT_COST columns for numeric data with precision and scale of 5,2 and 10,2 respectively. The table must have a composite primary ey on the EMPLOYEE_ID and START_DATE co lumns. Evaluate this CREATE TABLE statement: CREATE TABLE project_hist ( employee_id NUMBER, start_date DATE, end_date DATE, tas ed_hours NUMBER, hourly_rate NUMBER(5,2), project_cost NUMBER(10,2), CONSTRAINT project_hist_p PRIMARY KEY(employee_id, start_date)); How many of the requirements does the CREATE TABLE statement satisfy? Mar for Review (1) Points

None of the four requirements All four of the requirements (*) Only three of the requirements Only two of the requirements Incorrect. Refer to Section 9

None One and only one (*) One or two Unlimited Incorrect. Refer to Section 9 40. Which statement about the NOT NULL constraint is true? Mar for Review (1) Points The NOT NULL constraint must be defined at the column level. (*) The NOT NULL constraint can be defined at either the column level or the tab le level. The NOT NULL constraint requires a column to contain alphanumeric values. The NOT NULL constraint prevents a column from containing alphanumeric value s.

39. How many PRIMARY KEY constraints can be created for each table? Mar Review (1) Points

for

Incorrect. Refer to Section 9

Page 4 of 5

Test: Institute Exit Exam

Section 10 41. You administer an Oracle database, which contains a table named EMPLOYEES . Lu e, a database user, must create a report that includes the names and addres ses of all employees. You do not want to grant Lu e access to the EMPLOYEES tabl e because it contains sensitive data. Which of the following actions should you perform first? Mar for Review (1) Points Create the report for him. Create a view. (*) Create a subquery. Create an index. Incorrect. Refer to Section 10 42. Evaluate this CREATE VIEW statement: CREATE VIEW pt_view AS (SELECT first_name, last_name, status, courseid, subject, term FROM faculty f, course c WHERE f.facultyid = c.facultyid); Which type of view will this statement create? Mar for Review (1) Points

Nested Simple Inline Complex (*) Incorrect. Refer to Section 10

Review your answers, feedbac , and question scores below. An asteris tes a correct answer.

(*) indica

43. You administer an Oracle database. Jac manages the Sales department. He and his employees often find it necessary to query the database to identify cust omers and their orders. He has as ed you to create a view that will simplify thi s procedure for himself and his staff. The view should not accept INSERT, UPDATE or DELETE operations. Which of the following statements should you issue? Mar for Review (1) Points CREATE VIEW sales_view AS (SELECT companyname, city, orderid, orderdate, total FROM customers, orders WHERE custid = custid) WITH READ ONLY; CREATE VIEW sales_view (SELECT c.companyname, c.city, o.orderid, o. orderdate, o.total FROM customers c, orders o WHERE c.custid = o.custid) WITH READ ONLY; CREATE VIEW sales_view AS (SELECT c.companyname, c.city, o.orderid, o. orderdate, o.total FROM customers c, orders o WHERE c.custid = o.custid); CREATE VIEW sales_view AS (SELECT c.companyname, c.city, o.orderid, o. orderdate, o.total FROM customers c, orders o WHERE c.custid = o.custid) WITH READ ONLY; (*)

Incorrect. Refer to Section 10 44. Evaluate this CREATE VIEW statement: CREATE VIEW sales_view AS SELECT customer_id, region, SUM(sales_amount) FROM sales WHERE region IN (10, 20, 30, 40) GROUP BY region, customer_id; Which statement is true? Mar for Review (1) Points

You can modify data in the SALES table using the SALES_VIEW view. You cannot modify data in the SALES table using the SALES_VIEW view. (*) You can only insert records into the SALES table using the SALES_VIEW view. The CREATE VIEW statement generates an error.

Incorrect. Refer to Section 10

Section 11 45. Which dictionary view would you query to display the number most recently generated by a sequence? Mar for Review (1) Points USER_CURRVALUES USER_OBJECTS USER_SEQUENCES (*) USER_TABLES Incorrect. Refer to Section 11 46. The CUSTOMERS table exists in user Mary's schema. Which statement should you use to create a synonym for all database users on the CUSTOMERS table? Mar for Review (1) Points CREATE PUBLIC SYNONYM cust ON mary.customers; CREATE PUBLIC SYNONYM cust FOR mary.customers; (*) CREATE SYNONYM cust ON mary.customers FOR PUBLIC; CREATE SYNONYM cust ON mary.customers; GRANT SELECT ON cust TO PUBLIC;

Incorrect. Refer to Section 11 47. Which one of the following statements about indexes is true? Mar for Re view (1) Points An index is created automatically when a PRIMARY KEY constraint is created. (*) An index must be created by a database administrator when a PRIMARY KEY cons traint is created. An index is never created for a unique constraint.

An index cannot be created before a PRIMARY KEY constraint is created. Incorrect. Refer to Section 11

Section 12 48. Which of the following best describes the purpose of the REFERENCES objec t privilege on a table? Mar for Review (1) Points

It allows a user to refer to the table in a SELECT statement.

It allows the user to create new tables which contain the same data as the r eferenced table. Incorrect. Refer to Section 12 49. User Kate wants to create indexes on tables in her schema. What privilege must be granted to Kate so that she can do this? Mar for Review (1) Points CREATE INDEX CREATE ANY INDEX ALTER TABLE None; users do not need extra privileges to create indexes on tables in thei r own schema (*) Incorrect. Refer to Section 12

Section 14 50. If a database crashes, all uncommitted changes are automatically rolled b ac . True or False? Mar for Review (1) Points True (*) False Incorrect. Refer to Section 14

It allows a user to create foreign

ey constraints on the table.

It allows a user's session to read from the table but only so that foreign ey constraints can be chec ed. (*)

Page 5 of 5

Вам также может понравиться