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

单项选择题

Examine the statement: Create synonym emp for hr. employees; What happens when you issue the statement? ()

    A. An error is generated.
    B. You will have two identical tables in the HR schema with different names.
    C. You create a table called employees in the HR schema based on you EMP table.
    D. You create an alternative name for the employees table in the HR schema in your own schema.

点击查看答案

相关考题

  • 单项选择题
    Which statement accomplish this? ()

    A. CREATE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status VARCHAR2 (10), date_ordered DATE = SYSDATE);
    B. CREATE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status VARCHAR2 (10), date_ordered DATE DEFAULT SYSDATE);
    C. CREATE OR REPLACE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status VARCHAR2 (10), date_ordered DATE DEFAULT SYSDATE);
    D. CREATE OR REPLACE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status NUMBER (10), date_ordered DATE = SYSDATE);
    E. CREATE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status NUMBER (10), date_ordered DATE = SYSDATE);
    F. CREATE TABLE orders ( order_id NUMBER (10), customer_id NUMBER (8), order_status NUMBER (10), date_ordered DATE DEFAULT SYSDATE);

  • 单项选择题
    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.

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

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