试题详情
- 单项选择题Which SQL statement defines the FOREIGN KEY constraint on the DEPTNO column of the EMP table? ()
A、CREATE TABLE EMP (empno NUMBER(4), ename VARCNAR2(35), deptno NUMBER(7,2) NOT NULL CONSTRAINT emp_deptno_fk FOREIGN KEY deptno REFERENCES dept deptno);
B、CREATE TABLE EMP (empno NUMBER(4), ename VARCNAR2(35), deptno NUMBER(7,2) CONSTRAINT emp_deptno_fk REFERENCES dept (deptno));
C、CREATE TABLE EMP (empno NUMBER(4) ename VARCHAR2(35), deptno NUMBER(7,2) NOT NULL, CONSTRAINT emp_deptno_fk REFERENCES dept (deptno) FOREIGN KEY (deptno));
D、CREATE TABLE EMP (empno NUMBER(4), ename VARCNAR2(35), deptno NUMBER(7,2) FOREIGN KEY CONSTRAINT emp deptno fk REFERENCES dept (deptno));
- B
关注下方微信公众号,在线模考后查看
热门试题
- Examine the structu
- You need to perform
- The applicatio
- What are
- Immediately af
- Indentify two advant
- You work
- The CUSTOMERS table
- 在Oracle中,下列()语句不能用于控
- You need
- 下面哪个操作会导致用户连接到ORACLE
- You have
- While performi
- You have
- Given: WhenthedoSome
- Which dependen
- Given: Whatistheres
- Which /SQL*Plus feat
- You are
- While querying