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

Examine the data in the EMPLOYEES and DEPARTMENTS tables:<br /> EMPLOYEES<br /> EMP_NAME DEPT_ID MGR_ID JOB_ID SALARY<br /> EMPLOYEE_ID<br /> 101 Smith 20 120 SA_REP 4000<br /> 102 Martin 10 105 CLERK 2500<br /> 103 Chris 20 120 IT_ADMIN 4200<br /> 104 John 30 108 HR_CLERK 2500<br /> 105 Diana 30 108 IT_ADMIN 5000<br /> 106 Smith 40 110 AD_ASST 3000<br /> 108 Jennifer 30 110 HR_DIR 6500<br /> 110 Bob 40 EX_DIR 8000<br /> 120 Ravi 20 110 SA*DIR 6500<br /> DEPARTMENTS<br /> DEPARTMENT_ID DEPARTMENT_NAME<br /> 10 Admin<br /> 20 Education<br /> 30 IT<br /> 40 Human Resources<br /> Also examine the SQL statements that create the EMPLOYEES and DEPARTMENTS tables:<br /> CREATE TABLE departments<br /> (department_id NUMBER PRIMARY KEY,<br /> department _ name VARCHAR2(30));<br /> CREATE TABLE employees<br /> (EMPLOYEE_ID NUMBER PRIMARY KEY,<br /> EMP_NAME VARCHAR2(20),<br /> DEPT_ID NUMBER REFERENCES<br /> departments(department_id),<br /> MGR_ID NUMBER REFERENCES<br /> employees(employee id)

A、Only the row with department ID 40 is deleted in the DEPARTMENTS table.

B、The statement fails because there are child records in the EMPLOYEES table with department ID 40.

C、The row with department ID 40 is deleted in the DEPARTMENTS table. Also the rows with employee IDs 110 and 106 are deleted from the EMPLOYEES table.

D、The row with department ID 40 is deleted in the DEPARTMENTS table. Also the rows with employee IDs 106 and 110 and the employees working under employee 110 are deleted from the EMPLOYEES table.

E、The row with department ID 40 is deleted in the DEPARTMENTS table. Also all the rows in the EMPLOYEES table are deleted.

F、The statement fails because there are no columns specifies in the DELETE clause of the DELETE statement.

更多“ Examine the data in the EMPLOYEES and DEPARTMENTS tables:<br /> EMPLOYEES<br /> EMP_NAME DEPT_ID MGR_ID JOB_ID SALARY<br /> EMPLOYEE_ID<br /> 101 Smith 20 120 SA_REP 4000<br /> 102 Martin 10 105 CLERK 2500<br /> 103 Chris 20 120 IT_ADMIN 4200<br /> 104 John 30 108 HR_CLERK 2500<br /> 105 Diana 30 108 IT_ADMIN 5000<br /> 106 Smith 40 110 AD_ASST 3000<br /> 108 Jennifer 30 110 HR_DIR 6500<br /> 110 Bob 40 EX_DIR 8000<br /> 120 Ravi 20 110 SA*DIR 6500<br /> DEPARTMENTS<br /> DEPARTMENT_ID DEPARTMENT_NAME<br /> 10 Admin<br /> 20 Education<br /> 30 IT<br /> 40 Human Resources<br /> Also examine the SQL statements that create the EMPLOYEES and DEPARTMENTS tables:<br /> CREATE TABLE departments<br /> (department_id NUMBER PRIMARY KEY,<br /> department _ name VARCHAR2(30));<br /> CREATE TABLE employees<br /> (EMPLOYEE_ID NUMBER PRIMARY KEY,<br /> EMP_NAME VARCHAR2(20),<br /> DEPT_ID NUMBER REFERENCES<br /> departments(department_id),<br /> MGR_ID NUMBER REFERENCES<br /> employees(employee id)”相关的问题
第1题

A、The SELECT statement is syntactically accurate.  B、The SELECT statement does not work because there is no HAVING clause.  C、The SELECT statement does not work because the column specified in the GROUP BY clause is not in the SELECT list.  D、The SELECT statement does not work because the GROUP BY clause should be in the main query and not in the subquery.  

点击查看答案
第2题

A、It collects statistics into the pending area in the data dictionary  B、It creates a virtual hidden column in the CUSTOMERS_OBE table  C、It collects statistics with AUTO_SAMPLE_SIZE for ESTIMATE_PERCENT  D、It creates a histogram to hold skewed information about the data in the columns  

点击查看答案
第3题

A、Because the progress is reported for each data file  B、Because the progress is reported for each backup set  C、Because other RMAN sessions have issued the same BACKUP command  D、Because new data files have been added to the database while the RMAN backup is in progress  

点击查看答案
第4题

A、The SELECT statement is syntactically accurate.  B、The SELECT statement does not work because there is no HAVING clause.  C、The SELECT statement does not work because the column specified in the GROUP BY clause is not in the SELECT list.  D、The SELECT statement does not work because the GROUP BY clause should be in the main query and not in the subquery.  

点击查看答案
第5题

A、It contains data till the last backup  B、It contains all data from target database until the current time  C、It contains all data from only the committed transactions in the target database  D、It contains all data except that which is used by the transactions in the current online redo file of target database  

点击查看答案
第6题

A、The data files of the read-only tablespaces in the target database are not duplicated  B、The read-only tablespaces in the target database are still defined in new the database  C、The read-only tablespaces in the target database are changed to online after duplication  D、The data files of the read-only tablespaces in the target database get duplicated  E、The read-only tablespaces in the target database are not defined in the new database  

点击查看答案
第7题

A、The data file is checked for physical corruption and backed up if found clean.  B、The backup of data file 5 is performed and the interactive messages during the backup are suppressed.  C、The existing backup for the data file is checked and the backup is performed if there are changes in the data file after the last backup.  D、The backup of data file 5 is performed and all SQL statements that are executed during RMAN compilation and their results are displayed  

点击查看答案
第8题

A、Data files that belong to only the root container  B、Data files that belong to the root container and all the pluggable databases (PDBs)  C、Data files that belong to only the root container and PDB$SEED  D、Data files that belong to the root container and all the PDBs excluding PDB$SEED  

点击查看答案
第9题

A、The data files of the read-only tablespaces in the target database are not duplicated  B、The read-only tablespaces in the target database are still defined in new the database  C、The read-only tablespaces in the target database are changed to online after duplication  D、The data files of the read-only tablespaces in the target database get duplicated  E、The read-only tablespaces in the target database are not defined in the new database  

点击查看答案
第10题

A、A.deleting the records of employees who do not earn commission  B、B.increasing the commission of employee 3 by the average commission earned in department 20  C、C.finding the number of employees who do NOT earn commission and are working for department 20  D、D.inserting into the table a new employee 10 who works for department 20 and earns a commission that is equal to the commission earned by employee 3  E、E.creating a table called COMMISSION that has the same structure and data as the columns EMP_ID and COMMISSION of the EMP table  F、F.decreasing the commission by 150 for the employees who are working in department 30 and earning a commission of more than 800  

点击查看答案
客服
TOP

请使用微信扫码支付

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