A
B
C
D
第1题:
A.Table
B.Columns
C.Table and Alias
D.Columns and Alias
第2题:
You are responsible for a data warehouse application that uses records from an external table to update one of the dimension tables periodically. The records in the external table may contain data for new rows in the dimension table, or for updates to its existing rows. Which type of SQL command would you use to transfer the data from the external table to the dimension table as efficiently as possible?()
第3题:
Which two operations can be performed on an external table()
第4题:
User SCOTT executes the following command on the EMP table but has not issued COMMIT, ROLLBACK, or any data definition language (DDL) command: SQL> SELECT ename FROM emp 2 WHERE job=’CLERK’ FOR UPDATE OF empno; SCOTT has opened another session to work with the database instance. Which three operations wouldwait when issued in SCOTT’s second session()
第5题:
Which two operations can be performed on an external table()
第6题:
use the ROLLBACK command with SCN 663571
perform Flashback Transaction Query with SCN 663571
execute the FLASHBACK DATABASE statement to retrieve the CUSTOMERS table as it was at SCN 663571
execute another FLASHBACK TABLE statement to retrieve the CUSTOMERS table as it was at SCN 663571
第7题:
MERGE
SELECT …CROSS JOIN
INSERT ALL …SELECT
CREATE VIEW …CONSTRAINT
第8题:
The rows stay in the table only until session termination.
The rows stay in the table only until the next transaction starts on the table.
The rows are visible to all current sessions after the transaction is committed.
The rows stay available for subsequent sessions after the transaction is committed
第9题:
Create a view on the table.
Create an index on the table.
Create a synonym on the table.
Add a virtual column to the table.
Update the table using the UPDATE statement.
Delete rows in the table using the DELETE command
第10题:
Immediately following statement execution
After the ALTER TABLE DROP UNUSED COLUMNS command is issued
After the ALTER TABLE SET UNUSED COLUMN command is issued
After the ALTER TABLE MODIFY command is issued
第11题:
LOCK TABLE emp IN SHARE MODE;
LOCK TABLE emp IN EXCLUSIVE MODE;
DELETE FROM emp WHERE job=’MANAGER’;
INSERT INTO emp(empno,ename) VALUES (1289,’Dick’);
SELECT job FROM emp WHERE job=’CLERK’ FOR UPDATE OF empno;
第12题:
LOCK TABLE emp IN SHARE MODE;
LOCK TABLE emp IN EXCLUSIVE MODE;
UPDATE emp SET sal=sal*1.2 WHERE job=ANAGER?UPDATE emp SET sal=sal*1.2 WHERE job=?ANAGER?
INSERT INTO emp(empno,ename) VALUES (1289,’Harry’);
SELECT ename FROM emp WHERE job=’CLERK’ FOR UPDATE OF empno
第13题:
A user utilizing an alias to update a subset of columns in a table must have UPDATE privileges on which of the following DB2 objects?()
第14题:
You just issued the following statement: ALTER TABLE SALES DROP COLUMN PROFIT. Which of the following choices identifies when the column will actually be removed from Oracle?()
第15题:
User Scott has updated the salary of one of the employees in the EMPLOYEES table and has not committed the transaction. What are the two types of locks that this scenario would lead to?()
第16题:
User SCOTT executes the following command on the EMP table but has not issued COMMIT, ROLLBACK, orany data definition language (DDL) command: SQL> SELECT ename FROM emp WHERE job=’CLERK’ FOR UPDATE OF empno; SCOTT has opened another session to work with the database instance. Which three operations would waitwhen issued in SCOTT’s second session()
第17题:
User SCOTT executes the following command on the EMP table but has not issued COMMIT, ROLLBACK,or any data definition language (DDL) command: SQL> SELECT job FROM emp 2 WHERE job=’CLERK’ FOR UPDATE OF empno; SCOTT has opened another session to work with the database. Which three operations would wait when issued in SCOTT’s second session?()
第18题:
A
B
C
D
第19题:
null lock on the row being updated
null lock on the table containing the row
ROW SHARE lock for the row being updated
ROW EXCLUSIVE lock for the row being updated
shared row-exclusive lock for the row being updated
a shareable table lock for the table containing the row
exclusive table-level lock for the table containing the row
第20题:
Create a view on the table.
Create an index on the table.
Create a synonym on the table.
Add a virtual column to the table.
Update the table using the UPDATE statement.
Delete rows in the table using the DELETE command.
第21题:
A
B
C
D
第22题:
A
B
C
D
第23题:
LOCK TABLE emp IN SHARE MODE;
LOCK TABLE emp IN EXCLUSIVE MODE;
UPDATE emp SET sal=sal*1.2 WHERE job=MANAGER;
INSERT INTO emp(empno,ename) VALUES (1289,’Harry’);
SELECT ename FROM emp WHERE job=’CLERK’ FOR UPDATE OF empno;