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

单项选择题

Examine the structure of the EMPLOYEES table:
EMPLOYEE_ID NUMBER Primary Key
FIRST_NAME VARCHAR2 (25)
LAST_NAME VARCHAR2 (25)
HIRE_DATE DATE
Which UPDATE statement is valid?()

    A. UPDATE employees SET first_name = 'John' SET last_name = 'Smith' WHERE employee_id = 180;
    B. UPDATE employees SET first_name = 'John', SET last_name = 'Smoth' WHERE employee_id = 180;
    C. UPDATE employee SET first_name = 'John' AND last_name = 'Smith' WHERE employee_id = 180;
    D. UPDATE employee SET first_name = 'John', last_name = 'Smith' WHERE employee_id = 180;

点击查看答案

相关考题

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

  • 单项选择题
    The EMPLOYEES table has these columns: Management wants to add a default value to the SALARY column. You plan to alter the table by using this SQL statement: What is true about your ALTER statement?()

    A. Column definitions cannot be altered to add DEFAULT values.
    B. A change to the DEFAULT value affects only subsequent insertions to the table.
    C. Column definitions cannot be altered at add DEFAULT values for columns with a NUMBER data type.
    D. All the rows that have a NULL value for the SALARY column will be updated with the value 5000.

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

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