搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【单项选择题】

The EMP table contains these columns:<br /> LAST_NAME VARCHAR2 (25)<br /> SALARY NUMBER (6,2)<br /> DEPARTMENT_ID NUMBER (6)<br /> You need to display the employees who have not been assigned to any department. You write the SELECT statement:<br /> SELECT LAST_NAME, SALARY, DEPARTMENT_ID<br /> FROM EMP<br /> WHERE DEPARTMENT_ID = NULL;<br /> What is true about this SQL statement ?()<p> The EMP table contains these columns:<br /> LAST_NAME VARCHAR2 (25)<br /> SALARY NUMBER (6,2)<br /> DEPARTMENT_ID NUMBER (6)<br /> You need to display the employees who have not been assigned to any department. You write the SELECT statement:<br /> SELECT LAST_NAME, SALARY, DEPARTMENT_ID<br /> FROM EMP<br /> WHERE DEPARTMENT_ID = NULL;<br /> What is true about this SQL statement ?()</p>

A、A.The SQL statement displays the desired results.

B、B.The column in the WHERE clause should be changed to display the desired results.

C、C.The operator in the WHERE clause should be changed to display the desired results.

D、D.The WHERE clause should be changed to use an outer join to display the desired results.

更多“The EMP table contains these columns:<br /> LAST_NAME VARCHAR2 (25)<br /> SALARY NUMBER (6,2)<br /> DEPARTMENT_ID NUMBER (6)<br /> You need to display the employees who have not been assigned to any department. You write the SELECT statement:<br /> SELECT LAST_NAME, SALARY, DEPARTMENT_ID<br /> FROM EMP<br /> WHERE DEPARTMENT_ID = NULL;<br /> What is true about this SQL statement ?()<p> The EMP table contains these columns:<br /> LAST_NAME VARCHAR2 (25)<br /> SALARY NUMBER (6,2)<br /> DEPARTMENT_ID NUMBER (6)<br /> You need to display the employees who have not been assigned to any department. You write the SELECT statement:<br /> SELECT LAST_NAME, SALARY, DEPARTMENT_ID<br /> FROM EMP<br /> WHERE DEPARTMENT_ID = NULL;<br /> What is true about this SQL statement ?()</p>”相关的问题
第2题

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));  

点击查看答案
第3题

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));  

点击查看答案
第4题

A、Exhibit A  B、Exhibit B  C、The query returns no rows  D、The query fails because the outer query is retrieving more than one column  E、The query fails because both the inner and outer queries are retrieving data from the same table.  

点击查看答案
第6题

A、You cannot use the EMP_ID_SEQ sequence to populate the JOB_ID column.  B、The EMP_ID_SEQ sequence is invalidated when you modify the EMPLOYEE_ID column.  C、The EMP_ID_SEQ sequence is not affected by modifications to the EMPLOYEES table.  D、Any other column of NUMBER data type in your schema can use the EMP_ID_SEQ sequence.  E、The EMP_ID_SEQ sequence is dropped automatically when you drop the EMPLOYEES table.  F、The EMP_ID_SEQ sequence is dropped automatically when you drop the EMPLOYEE_ID column.  

点击查看答案
第7题

A、You cannot use the EMP_ID_SEQ sequence to populate the JOB_ID column.  B、The EMP_ID_SEQ sequence is invalidated when you modify the EMPLOYEE_ID column.  C、The EMP_ID_SEQ sequence is not affected by modifications to the EMPLOYEES table.  D、Any other column of NUMBER data type in your schema can use the EMP_ID_SEQ sequence.  E、The EMP_ID_SEQ sequence is dropped automatically when you drop the EMPLOYEES table.  F、The EMP_ID_SEQ sequence is dropped automatically when you drop the EMPLOYEE_ID column.  

点击查看答案
第8题

A、CREATE TABLE EMP (empno NUMBER(4), ename VARCHAR2(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 VARCHAR2(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 VARCHAR2(35), deptno NUMBER(7,2) FOREIGN KEY CONSTRAINT emp_deptno_fk REFERENCES dept (deptno));  

点击查看答案
第9题

A、It retrieves the latest version of the table from the recycle bin  B、It retrieves the oldest version of the table from the recycle bin  C、It retrieves the version of the table for which undo information is available  D、It returns an error because the table name is not specified as per the names in the OBJECT_NAME column  

点击查看答案
第10题

A、It retrieves the latest version of the table from the recycle bin  B、It retrieves the oldest version of the table from the recycle bin  C、It retrieves the version of the table for which undo information is available  D、It returns an error because the table name is not specified as per the names in the OBJECT_NAME column  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服