您好,欢迎访问三七文档
Exam1passEasiestwaytopassITexamsExam1passHelpYouPassAnyITExam:MySQL010-002Title:CertifiedMySQLAssociate(English)Version:DemoExam1passEasiestwaytopassITexamsExam1passHelpYouPassAnyITExam:CREATETABLEnumbers(double_numberdouble,decimal_numberdecimal(2,1))Onerowissuccessfullyinsertedintothenumberstable.Atthispoint,thetablecontainsthefollowingdata:+---------------+----------------+|double_number|decimal_number|+---------------+----------------+|1.5|2.5|+---------------+----------------+Therowisupdatedbyexecutingthefollowingstatement:UPDATEnumbersSETdouble_number=double_number+0.25,decimal_number=decimal_number+0.01Whichvaluesarenowstoredinthedouble_numberanddecimal_numbercolumnsoftheupdatedrow?Selectthebestresponse.A.1.8and2.5B.1.75and2.5C.1.8and2.51D.1.75and2.51Answer:B2.Whichofthefollowingstatementscanbeusedtolistalldatabasesthatareaccessibletothecurrentuser?Selectthebestresponse.A.LISTDATABASESB.SHOWDATABASESC.DISPLAYDATABASESD.VIEWDATABASESAnswer:B3.Whichofthefollowingstatementswilldiscardtheexistingdatabasecalledworld?Selectthebestresponse.A.DELETEDATABASEworldB.DROPDATABASEworldC.REMOVEDATABASEworldExam1passEasiestwaytopassITexamsExam1passHelpYouPassAnyITExam:B4.WhichstatementcanbeusedtolistallcolumnsintheCitytable?Selectthebestresponse.A.DISPLAYCOLUMNSFROMCityB.SHOWCOLUMNSFROMCityC.SHOWCOLUMNSLIKE'City'D.SHOWCityCOLUMNSAnswer:B5.ThedefaultdatabasecontainsatablecalledCity.Whichofthefollowingstatementsmaybeexecutedtoobtainastatementthatcouldbeusedto(re-)createtheCitytable?Selectthebestresponse.A.DESCRIBECityB.DESCRIBETABLECityC.SHOWTABLECityD.SHOWCREATETABLECityAnswer:D6.AMySQLtablehas...Selectthebestresponse.A.zeroormorecolumns,andzeroormorerows.B.zeroormorecolumns,andoneormorerows.C.oneormorecolumns,andzeroormorerows.D.oneormorecolumns,andoneormorerows.Answer:C7.WhichpartofaSELECTstatementspecifiesthetablesfromwhichdataistoberetrieved?Selectthebestresponse.A.TheSELECTlist.B.TheFROMclause.C.TheWHEREclause.D.TheLIMITclause.Answer:B8.WhichofthefollowingstatementsbestdescribesthepurposeoftheSQLWHEREclause?InSQLstatements,theWHEREclausespecifies...Selectthebestresponse.A.thetablesfromwhichdataistoberetrieved.Exam1passEasiestwaytopassITexamsExam1passHelpYouPassAnyITExam:B9.ThetableCountrycontainsthefollowingrows:+--------------------------+------------+|Name|Population|+--------------------------+------------+|Nauru|12000||TurksandCaicosIslands|17000||Tuvalu|12000||WallisandFutuna|15000|+--------------------------+------------+Whichofthefollowingstatementswillreturnallrowsinthetable,sortedbythevalueinthePopulationcolumn?Selectthebestresponse.A.SELECTName,PopulationASCFROMCountryB.SELECTName,ORDERBYPopulationFROMCountryC.SELECTName,PopulationFROMCountryGROUPBYPopulationASCD.SELECTName,PopulationFROMCountryORDERBYPopulationAnswer:D10.Inthecontextofdatabasetransactions,theatomicitypropertyguaranteesthat...Selectthebestresponse.A.duringatransaction,rowsareprocessedoneatatime.B.allstatementsthatareexecutedinsideatransactionareimmediatelycommitted.C.allstatementsthatareexecutedinsideatransactionarecommittedorrolledbackasoneunit.D.othertransactionscannotseethechangesmadeinotherongoinguncommittedtransactions.Answer:C11.ThefollowingoutputdescribesthetableCity:Exam1passEasiestwaytopassITexamsExam1passHelpYouPassAnyITExam+-------------+----------+------+-----+---------+----------------+|Field|Type|Null|Key|Default|Extra|+-------------+----------+------+-----+---------+----------------+|CountryCode|char(3)|NO|PRI||||CityName|char(35)|NO|PRI|||+-------------+----------+------+-----+---------+----------------+ThefollowingoutputdescribesthetableCountry:+----------------+-------------+------+-----+---------+-------+|Field|Type|Null|Key|Default|Extra|+----------------+-------------+------+-----+---------+-------+|CountryCode|char(3)|NO|PRI||||CountryName|char(52)|NO|||||Continent|varchar(10)|YES||NULL||+----------------+-------------+------+-----+---------+-------+ThetablesarerelatedthroughtheCountryCodecolumn.YouneedtoretrieveallcitiesandlisteachCityNamewiththeCountryNameofonlythecorrespondingcountry.Isthispossibleusingthefollowingquery?SELECTCityName,CountryNameFROMCountryINNERJOINCitySelectthebestresponse.A.Yes.B.No,youcan'tdothatinonestatement.C.No,thetablesarelistedinthewrongorder.D.No,thestatementneedsaconditiontomatchrelatedrows.Answer:D12.IsitpossibletosavetheresultofaSELECTstatementintoafileusinganSQLstatement?Selectthebestresponse.A.No,notwithSQLalone.B.Yes,byusingtheFILE()function.C.Yes,byusingtheINTOOUTFILEclause.D.Yes,byusingtheLOADDATAINFILEclause.Answer:CExam1passEasiestwaytopassITexamsExam1passHelpYouPassAnyITExam
本文标题:Exam1pass 010-002 exam braindumps free download
链接地址:https://www.777doc.com/doc-8999 .html