Examine the SQL statement that creates ORDERS table: CREATE TABLE orders (SER_NO NUMBER UNIQUE, ORDER_ID NUMBER, ORDER_DATE DATE NOT NULL, STATUS VARCHAR2(10) CHECK (status IN ('CREDIT', 'CASH')), PROD_ID NUMBER REFERENCES PRODUCTS(PRODUCT_ID), ORD_TOTAL NUMBER, PRIMARY KEY (order_id, order_date)); For which columns would an index be automatically created when you execute the above SQL statement? ()
第1题:
Examine the structure of the STUDENTS table:You need to create a report of the 10 students who achieved the highest ranking in the course INT SQL and who completed the course in the year 1999.Which SQL statement accomplishes this task?()
A.
B.
C.
D.
第2题:
A. SER_NO
B. ORDER_ID
C. STATUS
D. PROD_ID
E. ORD_TOTAL
F. Composite index on ORDER_ID and ORDER_DATE
第3题:
A.
B.
C.
D.
第4题:
Click the Exhibit button and examine the data in the EMPLOYEES table.Examine the subquery:SELECT last_nameFROM employeesWHERE salary IN (SELECT MAX(salary)FROM employeesGROUP BY department_id);Which statement is true?()
A.The SELECT statement is syntactically accurate.
B.The SELECT statement does not work because there is no HAVING clause.
C.The SELECT statement does not work because the column specified in the GROUP BY clause is not in the SELECT list.
D.The SELECT statement does not work because the GROUP BY clause should be in the main query and not in the subquery.
第5题:
Which three features work together, to allow a SQL statement to have different cursors for the samestatement based on different selectivity ranges?()
第6题:
Which of the following cannot be used as input to the SQL Tuning Advisor?() (Choose all that apply.)
第7题:
Examine the following statement that is used to modify the constraint on the SALES table: SQL> ALTER TABLE SALES MODIFY CONSTRAINT pk DISABLE VALIDATE; Which three statements are true regarding the above command()
第8题:
The statement would not execute because table aliases are not allowed in the JOIN clause.
The statement would not execute because the table alias prefix is not used in the USING clause.
The statement would not execute because all the columns in the SELECT clause are not prefixed with table aliases.
The statement would not execute because the column part of the USING clause cannot have a qualifier in the SELECT list.
第9题:
The SQL Repair Advisor can be invoked to tune the performance of the regressed SQL statements.
The SQL Repair Advisor can be invoked even when the incident is not active for a SQL statement crash.
The SQL Repair Advisor is invoked by the Health Monitor when it encounters the problematic SQL statement.
The DBA can invoke the SQL Repair Advisor when he or she receives an alert generated when a SQL statement crashes and an incident is created in the ADR.
第10题:
It is loaded with the FIXED status.
It is loaded with the ACCEPTED status.
It is not loaded with the ENABLED status.
It is not loaded with the ACCEPTED status.
第11题:
Oracle Managed Files are used for this instance.
The USER_DATA tablespace is managed using FET$/UET$ tables.
The COMPATIBLE initialization parameter must be 9.0.0 or higher.
Space within segments in the USER_DATA tablespace is managed with freelists.
第12题:
A
B
C
D
第13题:
A.
B.
C.
D.
第14题:
Examine the description of the MARKS table:SUBJ1 and SUBJ2 indicate the marks obtained by a student in two subjects.Examine this SELECT statement based on the MARKS table:What is the result of the SELECT statement?()
A. The statement executes successfully and returns the student ID and sum of all marks for each student who obtained more than the average mark in each subject.
B. The statement returns an error at the SELECT clause.
C. The statement returns an error at the WHERE clause.
D. The statement returns an error at the ORDER BY clause.
第15题:
Examine the data from the ORDERS and CUSTOMERS table.Which SQL statement retrieves the order ID, customer ID, and order total for the orders that are placed on the same day that Martin places his orders?()
A.
B.
C.
D.
第16题:
Click the Exhibit button and examine the data from the ORDERS and CUSTOMERS tables.Evaluate the SQL statement:SELECT *FROM ordersWHERE cust_id = (SELECT cust_idFROM customersWHERE cust_name = ‘Smith‘);What is the result when the query is executed?()
A.A
B.B
C.C
D.D
E.E
第17题:
Which two statements are true regarding the SQL Repair Advisor?()
第18题:
Which of the following cannot be used as input to the SQL Tuning Advisor?()
第19题:
Examine the following PL/SQL block: SET SERVEROUTPUT ON SET LONG 10000 ECLARE report clob; BEGIN report := DBMS_SPM.EVOLVE_SQL_PLAN_BASELINE(); DBMS_OUTPUT.PUT_LINE(report); END; Which statement describes the effect of the execution of the above PL/SQL block?()
第20题:
The constraint remains valid.
The index on the constraint is dropped.
It allows the loading of data into the table using SQL*Loader.
New data conforms to the constraint, but existing data is not checked
It allows the data manipulation on the table using INSERT/UPDATE/DELETE SQL statements.
第21题:
SER_NO
ORDER_ID
STATUS
PROD_ID
ORD_TOTAL
composite index on ORDER_ID and ORDER_DATE
第22题:
SER_NO
ORDER_ID
STATUS
PROD_ID
ORD_TOTAL
composite index on ORDER_ID and ORDER_DATE
第23题:
The plan baselines are verified with the SQL profiles.
All fixed plan baselines are converted into nonfixed plan baselines.
All the nonaccepted SQL profiles are accepted into the plan baseline.
The nonaccepted plans in the SQL Management Base are verified with the existing plan baselines.
第24题:
SER_NO
ORDER_ID
STATUS
PROD_ID
ORD_TOTAL
Composite index on ORDER_ID and ORDER_DATE