欢迎来到PP题库网 PP题库官网
logo
全部科目 > Oracle认证考试 > 1Z0-007

单项选择题

Scott issues the SQL statements:
CREATE TABLE dept
(deptno NUMBER(2),
dname VARCHAR2(14),
loc VARCHAR2(13)};
GRANT SELECT
ON DEPT
T0 SUE;
If Sue needs to select from Scott's DEPT table, which command should she use?()

    A.SELECT*FROMDEPT;
    B.SELECT*FROMSCOTT.DEPT;
    C.SELECT*FROMDBASCOTTDEPT;
    D.SELECT*FROMALL_USERSWHEREUSER_NAME=';SCOTT';ANDTABLENAME=';DEPT';;

点击查看答案

相关考题

  • 单项选择题
    What is true about joining tables through an equijoin?()

    A. You can join a maximum of two tables through an equijoin.
    B. You can join a maximum of two columns through an equijoin.
    C. You specify an equijoin condition in the SELECT or FROM clauses of a SELECT statement.
    D. To join two tables through an equijoin, the columns in the join condition must be primary key and foreign key columns.
    E. You can join n tables (all having single column primary keys) in a SQL statement by specifying a minimum of n-1 join conditions.

  • 多项选择题
    Which two statements about subqueries are true?()

    A. A single row subquery can retrieve data from only one table.
    B. A SQL query statement cannot display data from table B that is referred to in its subquery, unless table B is included in the main query's FROM clause.
    C. A SQL query statement can display data from table B that is referred to in its subquery, without including table B in its own FROM clause.
    D. A single row subquery can retrieve data from more than one table.
    E. A single row subquery cannot be used in a condition where the LIKE operator is used for comparison.
    F. A multiple-row subquery cannot be used in a condition where the LIKE operator is used for comparison.

  • 单项选择题
    You need to calculate the total of all salaries in the accounting department. Which group function should you use?()

    A. MAX
    B. MIN
    C. SUM
    D. COUNT
    E. TOTAL
    F. LARGEST

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题