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

单项选择题

User Mary has a view called EMP_DEPT_LOC_VU that was created based on the EMPLOYEES, DEPARTMENTS, and LOCATIONS tables. She has the privilege to create a public synonym, and would like to create a synonym for this view that can be used by all users of the database. Which SQL statement can Mary use to accomplish that task?()

    A. CREATE PUBLIC SYNONYM EDL_VU ON emp_dept_loc_vu
    B. CREATE PUBLIC SYNONYM EDL:VU FOR mary (emp_dept_loc_vu);
    C. CREATE PUBLIC SYNONYM EDL_VU FOR emp _dept_loc_vu;
    D. CREATE SYNONYM EDL_VU ON emp_dept_loc_vu FOR EACH USER;
    E. CREATE SYNONYM EDL_VU FOR EACH USER ON emp_dept_loc_vu
    F. CREATE PUBLIC SYNONYM EDL_VU ON emp_dept_loc_vu FOR ALL USERS;

点击查看答案

相关考题

  • 多项选择题
    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 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 an INSERT statement to insert multiple rows at a time.

  • 单项选择题
    Examine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25) HIRE_DATE DATE Which INSERT statement is valid? ()

    A. INSERT INTO employees (employee_id, first_name, last_name, hire_date) VALUES (1000, 'John', 'smith','01/01/01);
    B. INSERT INTO employees(employee_id, first_name, last_name, hire_date) VALUES (1000, 'John', 'smith','01 january 01');
    C. INSERT INTO employees(employee_id, first_name, last_name, Hire_date) VALUES (1000, 'John', 'smith', To_ date ('01/01/01));
    D. INSERT INTO employees(employee_id, first_name, last_name, hire_date) VALUES (1000, 'John', 'smith','01-Jan-01');

  • 多项选择题
    Which are /SQL*Plus commands? ()

    A. INSERT
    B. UPDATE
    C. SELECT
    D. DESCRIBE
    E. DELETE
    F. RENAME

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

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