- 最后登录
- 2018-9-14
- 在线时间
- 47 小时
- 威望
- 205
- 金钱
- 2327
- 注册时间
- 2011-10-13
- 阅读权限
- 150
- 帖子
- 90
- 精华
- 0
- 积分
- 205
- UID
- 26
|
1#
发表于 2013-12-19 22:12:04
|
查看: 3707 |
回复: 2
本帖最后由 biotwang 于 2013-12-19 22:18 编辑
39. Evaluate the following command:- CREATE TABLE employees(employee_id NUMBER(2) PRIMARY KEY,
- last_name VARCHAR2(25) NOT NULL,
- department_id NUMBER(2) NOT NULL,
- job_id VARCHAR2(8),
- salary NUMBER(10, 2));
复制代码 You issue the following command to create a view that displays the IDs and last names of the sales staff IN the organization:- CREATE OR REPLACE VIEW sales_staff_vu AS
- SELECT employee_id, last_name, job_id
- FROM employees
- WHERE job_id LIKE 'SA_%' WITH CHECK OPTION;
复制代码 Which two statements are true regarding the above view? (Choose two.)
A. It allows you to insert rows into the EMPLOYEES table .
B. It allows you to delete details of the existing sales staff from the EMPLOYEES table.
C. It allows you to update job IDs of the existing sales staff to any other job ID in the EMPLOYEES table.
D. It allows you to insert IDs, last names, and job IDs of the sales staff from the view if it is used in multitable INSERT statements.
答案: BD
为什么选项D是正确的,实在找不出例子。希望有兴趣的看看: |
|