单项选择题

The user SCOTT who is the owner of ORDERS and ORDERJTEMS tables issues the following 
GRANT command: 
GRANT ALL  
ON orders, order_items  
TO PUBLIC;  
What correction needs to be done to the above statement? ()

A. PUBLIC should be replaced with specific usernames.
B. ALL should be replaced with a list of specific privileges.
C. WITH GRANT OPTION should be added to the statement.
D. Separate GRANT statements are required for ORDERS and ORDERJTEMS tables.


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题

View the Exhibit and examine the data in ORDERS_MASTER and MONTHLYjDRDERS tables.



What would be the outcome of the above statement?()

A. The ORDERS_MASTER table would contain the ORDERJDs 1 and 2.
B. The ORDERS_MASTER table would contain the ORDERJDs 1, 2 and 3.
C. The ORDERS_MASTER table would contain the ORDERJDs 1, 2 and 4.
D. The ORDERS MASTER table would contain the ORDER IDs 1, 2, 3 and 4.

2.单项选择题

Evaluate the following statement:

Which statement is true regarding the evaluation of rows returned by the subquery in the INSERT statement?()

A. They are evaluated by all the three WHEN clauses regardless of the results of the evaluation of any other WHEN clause.
B. They are evaluated by the first WHEN clause. If the condition is true, then the row would be evaluated by the subsequent WHEN clauses.
C. They are evaluated by the first WHEN clause. If the condition is false, then the row would be evaluated by the subsequent WHEN clauses.
D. The INSERT statement would give an error because the ELSE clause is not present for support in case none of the WHEN clauses are true.

3.多项选择题

View the Exhibit and examine the data in the PRODUCT INFORMATION table.

Which two tasks would require subqueries? ()

A. displaying the minimum list price for each product status
B. displaying all supplier IDs whose average list price is more than 500
C. displaying the number of products whose list prices are more than the average list price
D. displaying all the products whose minimum list prices are more than the average list price of products having the product status orderable
E. displaying the total number of products supplied by supplier 102071 and having product status OBSOLETE

4.单项选择题

Evaluate the CREATE TABLE statement: 
 CREATE TABLE products  
(product_id NUMBER (6) 
CONSTRAINT prod_id_pk PRIMARY KEY,  product_name VARCHAR2 (15));  
Which statement is true regarding the PROD_ID_PK constraint?()

A. It would be created only if a unique index is manually created first.
B. It would be created and would use an automatically created unique index.
C. It would be created and would use an automatically created nonunique index.
D. It would be created and remains in a disabled state because no index is specified in the command.

5.多项选择题Which two statements are true regarding the execution of the correlated subqueries?()

A. The nested query executes after the outer query returns the row.
B. The nested query executes first and then the outer query executes.
C. The outer query executes only once for the result returned by the inner query.
D. Each row returned by the outer query is evaluated for the results returned by the inner query.

6.单项选择题

View the Exhibit and examine the structure of the ORDERS and ORDERJTEMS tables.  Evaluate the following SQL statement:  
SELECT oi.order_id, product_jd, order_date  
FROM order_items oi JOIN orders o  
USING (order_id);  
Which statement is true regarding the execution of this SQL statement?()

A. The statement would not execute because table aliases are not allowed in the JOIN clause.
B. The statement would not execute because the table alias prefix is not used in the USING clause.
C. The statement would not execute because all the columns in the SELECT clause are not prefixed with table aliases.
D. The statement would not execute because the column part of the USING clause cannot have a qualifier in the SELECT list.

7.多项选择题Which three statements are true regarding single-row functions?()

A. They can accept only one argument.
B. They can be nested up to only two levels.
C. They can return multiple values of more than one data type.
D. They can be used in SELECT, WHERE, and ORDER BY clauses.  
E. They can modify the data type of the argument that is referenced.
F. They can accept a column name, expression, variable name, or a user-supplied constant as arguments.

8.多项选择题Which three tasks can be performed using regular expression support in Oracle Database 10g?()

A. it can be used to concatenate two strings.
B. it can be used to find out the total length of the string.
C. it can be used for string manipulation and searching operations.
D. it can be used to format the output for a column or expression having string data.
E. it can be used to find and replace operations for a column or expression having string data.


10.多项选择题Which three possible values can be set for the TIME_ZONE session parameter by using the ALTER SESSION command?()

A. ’os’
B. local
C. -8:00’
D. dbtimezone Li
E. ’Australia’

最新试题

View the Exhibit and examine the data in the PRODUCT INFORMATION table.Which two tasks would require subqueries? ()

题型:多项选择题

Which statement is true regarding Flashback Version Query? ()

题型:单项选择题

EMPDET is an external table containing the columns EMPNO and ENAME.  Which command would work in relation to the EMPDET table?()

题型:单项选择题

Evaluate the following statement: Which statement is true regarding the evaluation of rows returned by the subquery in the INSERT statement?()

题型:单项选择题

The details of the order ID, order date, order total, and customer ID are obtained from the ORDERS table. If the order value is more than 30000, the details have to be added to the LARGEjDRDERS table. The order ID, order date, and order total should be added to the ORDERJHISTORY table, and order ID and customer ID should be added to the CUSTJHISTORY table.  Which multitable INSERT statement would you use? ()

题型:单项选择题

EMPDET is an external table containing the columns EMPNO and ENAME.  Which command would work in relation to the EMPDET table? ()

题型:单项选择题

Evaluate the following statement:  Which statement is true regarding the evaluation of rows returned by the subquery in the INSERT statement?()

题型:单项选择题

View the Exhibit and examine the data in ORDERS_MASTER and MONTHLYjDRDERS tables.What would be the outcome of the above statement?()

题型:单项选择题

Which statement is true regarding Flashback Version Query?()

题型:单项选择题

View the Exhibit and examine the structure of the ORDERS table.Which task would require subqueries?  ()

题型:单项选择题