Examine the data in the EMPLOYEES table.On the EMPLOYEES table, EMPLOYEE_ID is the primary key. MGR_ID is the ID of managers and refers to the EMPLOYEE_ID. The JOB_ID column is a NOT NULL column.Evaluate this DELETE statement:Why does the DELETE statement

题目

Examine the data in the EMPLOYEES table.On the EMPLOYEES table, EMPLOYEE_ID is the primary key. MGR_ID is the ID of managers and refers to the EMPLOYEE_ID. The JOB_ID column is a NOT NULL column.Evaluate this DELETE statement:Why does the DELETE statement fail when you execute it?()

A. There is no row with dept_id 90 in the EMPLOYEES table.

B. You cannot delete the JOB_ID column because it is a NOT NULL column.

C. You cannot specify column names in the DELETE clause of the DELETE statement.

D. You cannot delete the EMPLOYEE_ID column because it is the primary key of the table.


相似考题
参考答案和解析
参考答案:C
更多“Examine the data in the EMPLOYEES table.On the EMPLOYEES table, EMPLOYEE_ID is the primary ”相关问题
  • 第1题:

    You added a PHONE_NUMBER column of NUMBER data type to an existing EMPLOYEES table. The EMPLOYEES table already contains records of 100 employees. Now, you want to enter the phone numbers of each of the 100 employees into the table. Some of the employees may not have a phone number available. Which data manipulation operation do you perform? ()

    A. MERGE

    B. INSERT

    C. UPDATE

    D. ADD

    E. ENTER

    F. You cannot enter the phone numbers for the existing employee records.


    参考答案:C

  • 第2题:

    YouneedtoimportalldefinitionsofobjectsbelongingtotheTS_EMPLOYEEStablespacebyusingtheexportfileexpdat.dmp.Whichimportstatementiscorrect?()

    A.imphr/hrTABLES=(ts_employees)rows=y

    B.impsystem/managerFROMUSER=hrfile=expdat.dmp

    C.imphr/hrTRANSPORT_TABLESPACE=yfile=expdat.dmp

    D.impsystem/managerTRANSPORT_TABLESPACE=yTABLESPACE=ts_employees


    参考答案:C

  • 第3题:

    Wal-Mart has been criticized by some groups for its .( )

    [A] low service quality

    [B] employees' low salary

    [C] high pressure on the other companies

    [D] discrimination against women


    正确答案:D

  • 第4题:

    Examinethefollowingcommandsexecutedinyourdatabase:SQL>ALTERSESSIONRECYCLEBIN=ON;SessionalteredSQL>CREATETABLEempTABLESPACEtbsfdASSELECT*FROMhr.employees;Tablecreated.Further,youexecutedthefollowingcommandtodropthetable:SQL>DROPTABLEemp;Tabledropped.Whathappensinthisscenario?()

    A.ThetableismovedtotheSYSAUXtablespace.

    B.ThetableismovedtotheSYSTEMtablespace.

    C.Thetableisremovedfromthedatabasepermanently.

    D.ThetableisrenamedandremainsintheTBSFDtablespace.


    参考答案:D

  • 第5题:

    TheCiscoSA500SeriesSecurityAppliancesarebuiltspecificallyforbusinesseswithlessthan100employees.Whatarethreeimportantbenefitsofthisdevice?()

    A.site-to-siteVPNforremoteoffices

    B.business-gradefirewall

    C.CiscoIOSsoftware-based

    D.emailsecurity

    E.XMLsupport

    F.premiumsupportviaSMARTnet


    参考答案:A, B, D

  • 第6题:

    用所给的词和词组写出符合逻辑的句子。 a number of/have been/smoking/received from/requests/employees/in offices/asking that/be banned
    A number of requests have been received from employees asking that smoking be banned in offices.