Examine the data from the EMP table:EMP_ID DEPT_ID COMMISSION1 10 5002 20 10003 104 10 6005 30 8006 30 2007 108 20 300The COMMISSION column shows the monthly commission earned by the employee. Which three tasks would require subqueries or joins in order to perform in a single step? ()A. Deleting the records of employees who do not earn commission.B. Increasing the commission of employee 3 by the average commission earned in department 20.C. Finding the number of employees who do NOT earn commission and are working for department 20.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. Creating a table called COMMISSION that has the same structure and data as the columns EMP_ID and COMMISSIONS of the EMP table.F. Decreasing the commission by 150 for the employees who are working in department 30 and earning a commission of more then 800.

Examine the data from the EMP table:EMP_ID DEPT_ID COMMISSION1 10 5002 20 10003 104 10 6005 30 8006 30 2007 108 20 300The COMMISSION column shows the monthly commission earned by the employee. Which three tasks would require subqueries or joins in order to perform in a single step? ()

A. Deleting the records of employees who do not earn commission.

B. Increasing the commission of employee 3 by the average commission earned in department 20.

C. Finding the number of employees who do NOT earn commission and are working for department 20.

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. Creating a table called COMMISSION that has the same structure and data as the columns EMP_ID and COMMISSIONS of the EMP table.

F. Decreasing the commission by 150 for the employees who are working in department 30 and earning a commission of more then 800.


相关考题:

有以下程序#include stdio.hstruct st{ int x,y;} data[2]={1,10,2,20};main(){ struct st *p=data;printf("%d,",p-y); printf("%d\n",(++p)-x);}程序的运行结果是A)10,1B)20,1C)10,2D)20,2

有以下程序:struct s{ int x,y; }data[2]={10,100,20,200};main(){ struct s *p=data;printf("%d\n",(++p)-x);}程序运行后的输出结果是( )。A.10 B.11 C.20 D.21

结构布置图常用的比例为() A、1:200,1:500,1:10003B、1:5,1:10,1:20C、1:50,1:100,1:200D、1:10,1:20,1:50

UserSCOTTwantstoperformabulkinsertoperationintheEMP_DEPtable.SCOTTreceivesthefollowingerroraftertheINSERTstatementisissuedandfewrowsareinserted:INSERTINTOEMP_DEP(emp_id,name,salary,dep_name,mgr_id)*ERRORatline1:ORA-01653:unabletoextendtableSCOTT.EMP_DEPby128intablespaceUSERSIdentifytwoactionseitherofwhichwillhelpyouresolvethisproblem.()A.GranttheRESOURCEroletoSCOTT.B.AdddatafilestotheUSERStablespace.C.GranttheCREATEANYTABLEprivilegetoSCOTT.D.IncreasethespaceforSCOTTontheUSERStablespace.E.IncreasethesizeofthedatafileassociatedwiththeUSERStablespace

ViewtheExhibitandexaminethestructureoftheEMPtable.YouexecutedthefollowingcommandtoaddaprimarykeytotheEMPtable:ALTERTABLEempADDCONSTRAINTemp_id_pkPRIMARYKEY(emp_id)USINGINDEXemp_id_idx;Whichstatementistrueregardingtheeffectofthecommand?()A.ThePRIMARYKEYiscreatedalongwithanewindex.B.ThePRIMARYKEYiscreatedanditwoulduseanexistinguniqueindex.C.ThePRIMARYKEYwouldbecreatedinadisabledstatebecauseitisusinganexistingindex.D.ThestatementproducesanerrorbecausetheUSINGclauseispermittedonlyintheCREATETABLEcommand.

有以下程序}struct s{ int x,y; } data[2]={10,100,20,200};}main( )}{ struct s *p=data;}printf("%d\n",++(p->x));}程序运行后的输出结果是A.10B.11C.20D.21

有以下程序 struct s {int x,y;}data[2]={10,100,20,200}; main() { struct s*p=data; printf("%d\n",++(p->x)); } 程序运行后的输出结果是A.10B.11C.20D.21

有以下程序: struct s { int x,y;) data[2]={10,100,20,200); main() { struct s *p=data; printf("%d\n",++(p->x)); } 程序运行后的输出结果是( )。A.10B.11C.20D.21

有以下程序 struct s { int x,y; } data[2]={10,100,20,200}; main() struct s *p=data; printf("%d\n",++(p->x)); 程序运行后的输出结果是A.10B.11C.20D.21

在检查触电病人呼吸时,应按照()方式默数5-10秒。A.1、2、3、4、5B.101、102、103、104、105C.1001、1002、1003、1004、1005D.10002、10003、10004、10005