单选题A user executes a query on the EMP table, which contains thousands of rows, to get details about employees in one of the departments. The user receives the following error: SQL> SELECT ename FROM emp WHERE deptno=10 ORDER BY sal; SELECT ename FROM emp 

题目
单选题
A user executes a query on the EMP table, which contains thousands of rows, to get details about employees in one of the departments. The user receives the following error: SQL> SELECT ename FROM emp WHERE deptno=10 ORDER BY sal; SELECT ename FROM emp WHERE deptno=10 ORDER BY sal  *  ERROR at line 1:  ORA/x7f01157: cannot identify/lock data file 201 /x7f see DBWR trace file  ORA/x7f01110: data file 201: ’/u01/app/oracle/oradata/orcl/temp01.dbf’  What is a possible reason?()
A

The tempfile belonging to the default temporary tablespace is missing.

B

The database is opened in restricted mode, so queries are not allowed.

C

The default temporary tablespace required to execute the query is offline.

D

The default temporary tablespace required to execute the query is dropped.

E

The default temporary tablespace required to execute the query is read­only.


相似考题
更多“A user executes a query on the EMP table, which contains tho”相关问题
  • 第1题:

    Which data dictionary table should you query to view the object privileges granted to the user on specific columns?()

    • A、USER_TAB_PRIVS_MADE
    • B、USER_TAB_PRIVS
    • C、USER_COL_PRIVS_MADE
    • D、USER_COL_PRIVS

    正确答案:D

  • 第2题:

    Your database is running in ARCHIVELOG mode. The SCOTT.EMP table belongs to the DATA1 tablespace. The junior DBA erroneously runs a script that executes the following statement:   SQL> DROP TABLE SCOTT.EMP PURGE;   After one hour, you are performing the user managed incomplete recovery. Which datafiles will you restore from the last full backup?()

    • A、 the datafiles associated with the SYSTEM tablespace
    • B、 the datafiles associated to the DATA1 tablespace
    • C、 the datafiles associated to the SYSTEM and DATA1 tablespaces
    • D、 all the datafiles in the database

    正确答案:D

  • 第3题:

    You need to perform certain data manipulation operations through a view called EMP_DEPT_VU, which you previously created. You want to look at the definition of the view (the SELECT statement on which the view was create.) How do you obtain the definition of the view? ()

    • A、Use the DESCRIBE command in the EMP_DEPT VU view.
    • B、Use the DEFINE VIEW command on the EMP_DEPT VU view.
    • C、Use the DESCRIBE VIEW command on the EMP_DEPT VU view.
    • D、Query the USER_VIEWS data dictionary view to search for the EMP_DEPT_VU view.
    • E、Query the USER_SOURCE data dictionary view to search for the EMP_DEPT_VU view.
    • F、Query the USER_OBJECTS data dictionary view to search for the EMP_DEPT_VU view.

    正确答案:D

  • 第4题:

    多选题
    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.


    正确答案: A,D
    解析: 暂无解析

  • 第5题:

    单选题
    The user Sue issues this SQL statement: GRANT SELECT ON sue. EMP TO alice WITH GRANT OPTION; The user Alice issues this SQL statement: GRANT SELECT ON sue. EMP TO reena WITH GRANT OPTION; The user Reena issues this SQL statement: GRANT SELECT ON sue. EMP TO timber; The user Sue issues this SQL statement: REVOKE select on sue. EMP FROM alice; For which users does the revoke command revoke SELECT privileges on the SUE.EMP table?()
    A

    Alice only

    B

    Alice and Reena

    C

    Alice, Reena, and Timber

    D

    Sue, Alice, Reena, and Timber


    正确答案: C
    解析: 暂无解析

  • 第6题:

    多选题
    In which two scenarios should you issue the following command?() FLASHBACK TABLE SCOTT.EMP TO TIMESTAMP SYSTIMESTAP- INTERVAL ’15’ MINUTE;
    A

    when the schema of the user, SCOTT, was deleted by mistake 15 minutes ago

    B

    when the table EMP of the SCOTT schema was dropped by mistake 15 minutes ago

    C

    when some rows of the table, EMP, in the SCOTT schema were deleted by mistake 15 minutes ago

    D

    when some incorrect values were inserted in the EMP table in the user Scott’s schema during the last 15 minutes

    E

    never, because FLASHBACK TABLE is not a valid command in Oracle 10g.


    正确答案: B,D
    解析: 暂无解析

  • 第7题:

    单选题
    A user executes a query on the EMPtable, which contains thousands of rows, to get details about employees in one of the departments. The user receives the following error:  SQL> SELECT ename FROM emp WHERE deptno=10 ORDER BY sal;  SELECT ename FROM emp WHERE deptno=10 ORDER BY sal  ERROR at line 1:  ORA-01157: cannot identify/lock data file  201 - see DBWR trace file ORA-01110: data file 201:’/u01/app/oracle/oradata/orcl/temp01.dbf’  What is a possible reason?()
    A

     The tempfile belonging to the default temporary tablespace is missing.

    B

     The database is opened in restricted mode, so queries are not allowed

    C

     The default temporary tablespace required to execute the query is offline.

    D

     The default temporary tablespace required to execute the query is dropped.

    E

     The default temporary tablespace required to execute the query is read-only.


    正确答案: D
    解析: 暂无解析

  • 第8题:

    单选题
    The user HR owns the EMP table. The user HR grants privileges to the user SCOTT by using this command:  SQL> GRANT SELECT,INSERT,UPDATE ON emp TO scott WITH GRANT OPTION; The user SCOTT executes this command to grant privileges to the user JIM: SQL> GRANT SELECT,INSERT,UPDATE ON hr.emp TO jim;  Now, the user HR decides to revoke privileges from JIM using this command: SQL> REVOKE SELECT,INSERT,UPDATE ON emp FROM jim; Which statement is true after HR issues the REVOKE command()
    A

    The command fails because SCOTT still has privileges.

    B

    The command succeeds and privileges are revoked from JIM.

    C

    The command fails because HR cannot revoke the privileges from JIM.

    D

    The command succeeds and only HR has the privilege to perform the SELECT, INSERT, and UPDATEoperations on the EMP table.


    正确答案: D
    解析: 暂无解析

  • 第9题:

    多选题
    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?()
    A

    LOCK TABLE emp IN SHARE MODE;

    B

    LOCK TABLE emp IN EXCLUSIVE MODE;

    C

    DELETE FROM emp WHERE job=’MANAGER’;

    D

    INSERT INTO emp(empno,ename) VALUES (1289,’Dick’);

    E

    SELECT job FROM emp WHERE job=’CLERK’ FOR UPDATE OF empno;


    正确答案: A,D
    解析: 暂无解析

  • 第10题:

    多选题
    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()
    A

    LOCK TABLE emp IN SHARE MODE;

    B

    LOCK TABLE emp IN EXCLUSIVE MODE;

    C

    UPDATE emp SET sal=sal*1.2 WHERE job=MANAGER;

    D

    INSERT INTO emp(empno,ename) VALUES (1289,’Harry’);

    E

    SELECT ename FROM emp WHERE job=’CLERK’ FOR UPDATE OF empno;


    正确答案: C,E
    解析: 暂无解析

  • 第11题:

    单选题
    The user Alice wants to grant all users query privileges on her DEPT table. Which SQL statement accomplishes this? ()
    A

    GRANT select ON dept TO ALL_ USER;

    B

    GRANT select ON dept TO ALL;

    C

    GRANT QUERY ON dept TO ALL_USERS

    D

    GRANT select ON dept TO PUBLIC;


    正确答案: B
    解析: 暂无解析

  • 第12题:

    You are employed as a DBA in an organization. You are informed that the record of EMP_NO 1000 is missing from the SCOTT.EMP table. You are required to identify the user who deleted the record, the SQL statement that will undo the deletion, and the transaction ID of the transaction that deleted the employee record. Which feature will you use to perform the tasks?()

    • A、 Only the Flashback Table
    • B、 Both the Flashback Transaction Query and the Flashback Version Query
    • C、 Only the Flashback Drop
    • D、 Only the Flashback Version

    正确答案:B

  • 第13题:

    Which view should a user query to display the columns associated with the constraints on a table owned by the user?()

    • A、USER_CONSTRAINTS
    • B、USER_OBJECTS
    • C、ALL_CONSTRAINTS
    • D、USER_CONS_COLUMNS
    • E、USER_COLUMNS

    正确答案:D

  • 第14题:

    User A executes the following command to drop a large table in your database:SQL> DROP TABLE trans; While the drop table operation is in progress, user B executes the following command on the same table:SQL> DELETE FROM trans WHERE tr_type=’SL’; Which statement is true regarding the DELETE command()

    • A、It fails to delete the records because the records are locked in SHARE mode.
    • B、It deletes the rows successfully because the table is locked in SHARE mode
    • C、It fails to delete the records because the table is locked in EXCLUSIVE mode.
    • D、It deletes the rows successfully because the table is locked in SHARE ROW EXCLUSIVE mode.

    正确答案:C

  • 第15题:

    单选题
    Your database is running in ARCHIVELOG mode. The SCOTT.EMP table belongs to the DATA1 tablespace. The junior DBA erroneously runs a script that executes the following statement:   SQL> DROP TABLE SCOTT.EMP PURGE;   After one hour, you are performing the user managed incomplete recovery. Which datafiles will you restore from the last full backup?()
    A

     the datafiles associated with the SYSTEM tablespace

    B

     the datafiles associated to the DATA1 tablespace

    C

     the datafiles associated to the SYSTEM and DATA1 tablespaces

    D

     all the datafiles in the database


    正确答案: D
    解析: 暂无解析

  • 第16题:

    单选题
    You are employed as a DBA in an organization. You are informed that the record of EMP_NO 1000 is missing from the SCOTT.EMP table. You are required to identify the user who deleted the record, the SQL statement that will undo the deletion, and the transaction ID of the transaction that deleted the employee record. Which feature will you use to perform the tasks?()
    A

     Only the Flashback Table

    B

     Both the Flashback Transaction Query and the Flashback Version Query

    C

     Only the Flashback Drop

    D

     Only the Flashback Version


    正确答案: C
    解析: 暂无解析

  • 第17题:

    单选题
    A user executes a query on the EMP table, which contains thousands of rows, to get details about employees in one of the departments. The user receives the following error: SQL> SELECT ename FROM emp WHERE deptno=10 ORDER BY sal; SELECT ename FROM emp WHERE deptno=10 ORDER BY sal  *  ERROR at line 1:  ORA/x7f01157: cannot identify/lock data file 201 /x7f see DBWR trace file  ORA/x7f01110: data file 201: ’/u01/app/oracle/oradata/orcl/temp01.dbf’  What is a possible reason?()
    A

    The tempfile belonging to the default temporary tablespace is missing.

    B

    The database is opened in restricted mode, so queries are not allowed.

    C

    The default temporary tablespace required to execute the query is offline.

    D

    The default temporary tablespace required to execute the query is dropped.

    E

    The default temporary tablespace required to execute the query is read­only.


    正确答案: D
    解析: 暂无解析

  • 第18题:

    单选题
    User A executes the following command to drop a large table in your database:SQL> DROP TABLE trans; While the drop table operation is in progress, user B executes the following command on the same table:SQL> DELETE FROM trans WHERE tr_type=’SL’; Which statement is true regarding the DELETE command()
    A

    It fails to delete the records because the records are locked in SHARE mode.

    B

    It deletes the rows successfully because the table is locked in SHARE mode

    C

    It fails to delete the records because the table is locked in EXCLUSIVE mode.

    D

    It deletes the rows successfully because the table is locked in SHARE ROW EXCLUSIVE mode.


    正确答案: B
    解析: 暂无解析

  • 第19题:

    单选题
    Which view should a user query to display the columns associated with the constraints on a table owned by the user?()
    A

    USER_CONSTRAINTS

    B

    USER_OBJECTS

    C

    ALL_CONSTRAINTS

    D

    USER_CONS_COLUMNS

    E

    USER_COLUMNS


    正确答案: E
    解析: 暂无解析

  • 第20题:

    单选题
    The user SCOTT executes the following command successfully to increase the salary values in one of his sessions:  SQL> UPDATE emp SET sal=sal*1.15 WHERE deptno=20;  Before SCOTT ends the transaction, user HR who has the privileges on EMP table executes a query to fetch the salary details but finds the old salary values instead of the increased values.  Why does HR still see the old data?()
    A

    because of redo data from redo log file

    B

    because of data from database buffer cache

    C

    because of data from a temporary tablespace

    D

    because of undo data from the undo tablespace


    正确答案: D
    解析: 暂无解析

  • 第21题:

    多选题
    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()
    A

    LOCK TABLE emp IN SHARE MODE;

    B

    LOCK TABLE emp IN EXCLUSIVE MODE;

    C

    UPDATE emp SET sal=sal*1.2 WHERE job=ANAGER?UPDATE emp SET sal=sal*1.2 WHERE job=?ANAGER?

    D

    INSERT INTO emp(empno,ename) VALUES (1289,’Harry’);

    E

    SELECT ename FROM emp WHERE job=’CLERK’ FOR UPDATE OF empno


    正确答案: E,B
    解析: 暂无解析

  • 第22题:

    单选题
    EXHIBIT, Emp Table Exhibit A Exhibit B Examine the data from the EMP table. Evaluate this SQL statement: SELECT * FROM emp WHERE emp _ id = 3); WHERE commission = (SELECT commission FROM emp What is the result when the query is executed?()
    A

    Exhibit A

    B

    Exhibit B 

    C

    The query returns no rows 

    D

    The query fails because the outer query is retrieving more than one column

    E

    The query fails because both the inner and outer queries are retrieving data from the same table.


    正确答案: B
    解析: 暂无解析