单项选择题You are currently located in Singapore and have connected to a remote database in Chicago. You issue the following command:SQL> SELECT ROUND (SYSDATE-promo_begin_date, 0) FROM promotions WHERE (SYSDATE-promo_begin_date)/365 >2;PROMOTIONS is the public synonym for the public database link for the PROMOTIONS table. What is the outcome?() 

A.an error because the ROUND function specified is invalid 
B.an error because the WHERE condition specified is invalid 
C.number of days since the promo started based on the current Chicago date and time 
D.number of days since the promo started based on the current Singapore date and time 


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题Which statement is true regarding subqueries?()

A.The LIKE operator cannot be used with single-row subqueries 
B.The NOT IN operator is equivalent to IS NULL with single-row subqueries 
C.=ANY and =ALL operators have the same functionality in multiple-row subqueries 
D.The NOT operator can be used with IN, ANY, and ALL operators in multiple-row subqueries 

2.多项选择题Which three statements are true regarding the data types in Oracle Database 10g/11g?()

A.Only one LONG column can be used per table 
B.A TIMESTAMP data type column stores only time values with fractional seconds 
C.The BLOB data type column is used to store binary data in an operating system file 
D.The minimum column width that can be specified for a VARCHAR2 data type column is one 
E.The value for a CHAR data type column is blank-padded to the maximum defined column width

3.多项选择题Which two statements are true regarding subqueries? ()

A.A subquery can retrieve zero or more rows 
B.Only two subqueries can be placed atone level 
C.A subquery can be used only in SQL query statements 
D.A subquery can appear on either side of a comparison operator 
E.There is no limit on the number of subquery levels in the WHERE clause of a SELECT statement 

4.多项选择题Which two statements are true regarding single row functions?()

A.They accept only a single argument 
B.They can be nested only to two levels 
C.Arguments can only be column values or constants 
D.They always return a single result row for every row of a queried table 
E.They can return a data type value different from the one that is referenced

5.多项选择题You need to generate a list of all customer last names with their credit limits from the CUSTOMERS table. Those customers who do not have a credit limit should appear last in the list. Which two queries would achieve the required result?()

A.SELECT cust_last_name, cust_credit_limit FROM customers ORDER BY cust_credit_limit DESC
B.SELECT cust_last_name, cust_credit_limit FROM customers ORDER BY cust_credit_limit
C.SELECT cust_last_name, cust_credit_limit FROM customers ORDER BY cust_credit_limit NULLS LAST
D.SELECT cust_last_name, cust_credit_limit FROM customers ORDER BY cust_last_name, cust_credit_limit NULLSLAST

6.多项选择题Where can subqueries be used?()

A.field names in the SELECT statement 
B.the FROM clause in the SELECT statement 
C.the HAVING clause in the SELECT statement
D.the GROUP BY clause in the SELECT statement 
E.the WHERE clause in only the SELECT statement 
F.the WHERE clause in SELECT as well as all DML statements

7.多项选择题Which two statements are true regarding the USING and ON clauses in table joins?()

A.Both USING and ON clauses can be used for equijoins and nonequijoins 
B.Amaximum of one pair of columns can be joined between two tables using the ON clause 
C.The ON clause can be used to join tables on columns that have different names but compatible data types 
D.The WHERE clause can be used to apply additional conditions in SELECT statements containing the ON or the USING clause 

8.单项选择题Which statement is true regarding the INTERSECT operator?()

A.It ignores NULL values 
B.Reversing the order of the intersected tables alters the result 
C.The names of columns in all SELECT statements must be identical 
D.The number of columns and data types must be identical for all SELECT statements in the query 

9.单项选择题The ORDERS table belongs to the user OE. OE has granted the SELECT privilege on the ORDERS table to the user HR.Which statement would create a synonym ORD so that HR can execute the following query successfully?()

A.CREATE SYNONYM ord FOR orders; This command is issued by OE 
B.CREATE PUBLIC SYNONYM ord FOR orders; This command is issued by OE 
C.CREATE SYNONYM ord FOR oe.orders; This command is issued by the database administrator 
D.CREATE PUBLIC SYNONYM ord FOR oe.orders; This command is issued by the database administrator 

10.多项选择题When does a transaction complete?()

A.when a DELETE statement is executed 
B.when a ROLLBACK command is executed 
C.when a PL/SQL anonymous block is executed 
D.when a data definition language (DDL) statement is executed 
E.when a TRUNCATE statement is executed after the pending transact ion

最新试题

What does the DB_FLASHBACK_RETENTION_TARGET parameter configure?()

题型:单项选择题

View the Exhibit and examine the output.You execute the following RMAN command to perform the backup operation:What is the multiplexing level in the preceding backup process()

题型:单项选择题

You want to configure the Flashback Database feature and retain flashback logs for three days. Presently the database is open and configured in ARCHIVELOG mode.The following steps must be performed in the correct sequence to do this:Choose the correct sequence.() 

题型:单项选择题

Which three functions are performed by the SQL Tuning Advisor? ()

题型:多项选择题

Tape streaming is not happening while performing RMAN tape backup. On investigation, you find that it is not because of the incremental backup or the empty file backup and that RMAN is sending data blocks to the tape drive fast enough.What could be a solution to make tape streaming happen during the backup?()

题型:单项选择题

The user SYS creates a job by using the following command:Which two statements are true about the job that was created by the preceding command?()

题型:多项选择题

You are creating a database by using Database Configuration Assistant (DBCA). You have chosen the File System option as the storage mechanism. What would be the result of choosing this option?()

题型:单项选择题

Which two commands never trigger an implicit rebalancing within the disk group?()

题型:多项选择题

After you have restored and recovered a database to a new host by using a previously performed Recovery Manager (RMAN) backup, which is the best option you would consider for the new database?()

题型:单项选择题

Indentify two advantages of using recovery catalog instead of the control file of the database in Recovery Manager (RMAN)?()

题型:多项选择题