WGU D427 - Database
$xf $xf $xf
Management
$xf
Applications Questions and Answers $xf $xf $xf
100%
Correct
$xf
Schema $xf- $xfANSWER-The $xfdefinition $xfof $xfhow $xfdata $xfin $xfa $xfdatabase $xfwill $xfbe $xforganized.
- Create
- Read
- Update
- Delete $xf- $xfANSWER-The $xfbasis $xfof $xfinteracting $xfwith $xfdatabases $xfcan $xfbe $xfdefined
$xfusing $xfthe $xfCRUD $xfacronym. $xfWhat $xfdoes $xfCRUD $xfstand $xffor?
DATE: $xfYYYY-MM-DD
DATETIME: $xfYYYY-MM-DD $xfHH:MM:SS $xf- $xfANSWER-What $xfis $xfthe $xfDATE $xfdatatype
$xfsyntax?
What $xfis $xfthe $xfDATETIME $xfdatatype $xfsyntax?
It $xfwill $xfhave $xf3 $xfnumbers $xfbefore $xfthe $xfdecimal $xfand $xf2 $xfafter. $xf- $xfANSWER-What $xfdoes
$xfDECIMAL(3,2) $xfindicate?
Stored $xfProcedures $xf- $xfANSWER-a $xfseries $xfof $xfcommands $xfstored $xfon $xfthe $xfdatabase.
$xfThis $xfallows $xfthe $xfreuse $xfof $xflong $xfor $xfdetailed $xfqueries $xfinstead $xfof $xfwriting $xfthem $xffor
$xfeach $xfuse. $xfIt $xfalso $xfprovides $xfa $xfsafe $xfway $xfto $xfdeal $xfwith $xfsensitive $xfdata, $xfespecially
$xfwith $xfthose $xfunfamiliar $xfwith $xfSQL $xfsyntax.
Data $xfdefinition $xflanguage $xf(DDL) $xf- $xfANSWER-involves $xfinstructing $xfthe $xfDBMS
$xfsoftware $xfon $xfwhat $xftables $xfwill $xfbe $xfin $xfthe $xfdatabase, $xfwhat $xfattributes $xfwill $xfbe $xfin
$xfthe $xftables, $xfwhich $xfattributes $xfwill $xfbe $xfindexed, $xfand $xfso $xfforth.
data $xfmanipulation $xflanguages $xf(DMLs) $xf- $xfANSWER-refers $xfto $xfthe $xffour $xfbasic
$xfoperations $xfthat $xfcan $xfand $xfmust $xfbe $xfperformed $xfon $xfdata $xfstored $xfin $xfany $xfDBMS
$xf(or $xfin $xfany $xfother $xfdata $xfstorage $xfarrangement, $xffor $xfthat $xfmatter): $xfdata $xfretrieval,
$xfdata $xfupdate, $xfinsertion $xfof $xfnew $xfrecords, $xfand $xfdeletion $xfof $xfexisting $xfrecords.
SELECT $xf*
FROM $xfCUSTOMER
WHERE $xfCUSTNUMB $xfBETWEEN $xf1 $xfAND $xf2; $xf- $xfANSWER-What $xfwould $xfthe $xfSELECT
statement $xflook $xflike $xfif $xfyou $xfuse $xfa $xfBETWEEN.
, WHERE $xfHQCITY $xfIN $xf('Atlanta', $xf'Chicago', $xf'Washington'); $xf- $xfANSWER-What $xfwould $xfthe
$xfSELECT $xfstatement $xflook $xflike $xfif $xfyou $xfuse $xfa $xfIN.
SELECT $xf*
FROM $xfCUSTOMER
WHERE $xfHQCITY $xfLIKE $xf'W%'; $xf- $xfANSWER-What $xfwould $xfthe $xfSELECT $xfstatement
$xflook $xflike $xfif $xfyou $xfuse $xfa $xfLIKE.
A% $xf- $xfThe $xf"%" $xfmeans $xfthat $xfany $xfstring $xfof $xfcharacters $xfcan $xffollow $xfafterwards. $xfThe
$xfpercent $xfsign $xfrepresents $xfzero $xfor $xfmore $xfarbitrary $xfregular $xfcharacters
A_ $xf- $xfThe $xf_ $xfmeans $xfthat $xfthere $xfwill $xfbe $xfexactly $xfone $xfletter $xffollowing $xfthe $xfA. $xfThe
$xfunderscore $xfrepresents $xfa $xfsingle $xfarbitrary $xfregular $xfcharacter. $xf- $xfANSWER-What
$xfare $xfthe $xftwo $xfways $xfof $xfusing $xfthe $xfLIKE $xfcommand?
The $xfclause $xfcan $xfinclude $xfthe $xfterm $xfASC $xfat $xfthe $xfend $xfto $xfmake $xfascending
$xfexplicit $xfor $xfit $xfcan $xfinclude $xfDESC $xffor $xfdescending $xforder. $xf- $xfANSWER-The
$xfdefault $xforder $xffor $xfORDER $xfBY $xfis $xfascending. $xfHow $xfcan $xfyou $xfmake $xfit
$xfdescending $xforder?
SELECT
$xfAVG/SUM/MIN/MAX/COUNT(Column_Name) $xfFROM
$xfSALES
WHERE $xfName $xf= $xf'Matt'; $xf- $xfANSWER-Command $xfto $xfuse $xfAVG/SUM/MIN/MAX/COUNT
$xfaggregate $xffunctions?
o One $xfis $xfthat $xfthe $xftables $xfto $xfbe $xfjoined $xfmust $xfbe $xflisted $xfin $xfthe $xfFROM $xfclause.
o Two $xfis $xfthat $xfthe $xfjoin $xfattributes $xfin $xfthe $xftables $xfbeing $xfjoined $xfmust $xfbe $xfdeclared
$xfand $xfmatched $xfto $xfeach $xfother $xfin $xfthe $xfWHERE $xfclause. $xf- $xfANSWER-There $xfare $xftwo
$xfspecifications $xfto $xfmake $xfin $xfthe $xfSELECT $xfstatement $xfto $xfmake $xfa $xfjoin $xfwork.
SELECT $xfSPNAME
FROM $xfSALESPERSON, $xfCUSTOMER
WHERE $xfSALESPERSON.SPNUM=CUSTOMER.SPNUM $xf- $xfANSWER-Example $xfof $xfJOIN
$xfCAUSE.
Dr. $xfCODD $xf- $xfANSWER-In $xf1970, $xfDr. of $xfIBM $xfpublished $xfin $xfCommunications
$xfof $xfthe $xfACM $xfa $xfpaper $xfentitled $xf"A $xfRelational $xfModel $xfof $xfData $xffor $xfLarge $xfShared
$xfData $xfBanks." $xfThis $xfpaper $xfmarked $xfthe $xfbeginning $xfof $xfthe $xffield $xfof $xfrelational
$xfdatabases.
CREATE $xfTABLE
DROP $xfTABLE $xf- $xfANSWER-Commands $xfto $xfcreate $xfand $xfdrop $xfa $xftable?
- When $xfyou $xfcreate $xfthe $xfcolumn $xfdefinition $xf(known $xfas $xfa $xfcolumn $xfconstraint).
- When $xfyou $xfuse $xfthe $xfCONSTRAINT $xfkeyword $xf(known $xfas $xfa $xftable $xfconstraint). $xf-
$xfANSWER- $xfThe $xfCREATE $xfTABLE $xfcommand $xflets $xfyou $xfdefine $xfconstraints $xfin $xftwo
$
$xf $xf $xf
Management
$xf
Applications Questions and Answers $xf $xf $xf
100%
Correct
$xf
Schema $xf- $xfANSWER-The $xfdefinition $xfof $xfhow $xfdata $xfin $xfa $xfdatabase $xfwill $xfbe $xforganized.
- Create
- Read
- Update
- Delete $xf- $xfANSWER-The $xfbasis $xfof $xfinteracting $xfwith $xfdatabases $xfcan $xfbe $xfdefined
$xfusing $xfthe $xfCRUD $xfacronym. $xfWhat $xfdoes $xfCRUD $xfstand $xffor?
DATE: $xfYYYY-MM-DD
DATETIME: $xfYYYY-MM-DD $xfHH:MM:SS $xf- $xfANSWER-What $xfis $xfthe $xfDATE $xfdatatype
$xfsyntax?
What $xfis $xfthe $xfDATETIME $xfdatatype $xfsyntax?
It $xfwill $xfhave $xf3 $xfnumbers $xfbefore $xfthe $xfdecimal $xfand $xf2 $xfafter. $xf- $xfANSWER-What $xfdoes
$xfDECIMAL(3,2) $xfindicate?
Stored $xfProcedures $xf- $xfANSWER-a $xfseries $xfof $xfcommands $xfstored $xfon $xfthe $xfdatabase.
$xfThis $xfallows $xfthe $xfreuse $xfof $xflong $xfor $xfdetailed $xfqueries $xfinstead $xfof $xfwriting $xfthem $xffor
$xfeach $xfuse. $xfIt $xfalso $xfprovides $xfa $xfsafe $xfway $xfto $xfdeal $xfwith $xfsensitive $xfdata, $xfespecially
$xfwith $xfthose $xfunfamiliar $xfwith $xfSQL $xfsyntax.
Data $xfdefinition $xflanguage $xf(DDL) $xf- $xfANSWER-involves $xfinstructing $xfthe $xfDBMS
$xfsoftware $xfon $xfwhat $xftables $xfwill $xfbe $xfin $xfthe $xfdatabase, $xfwhat $xfattributes $xfwill $xfbe $xfin
$xfthe $xftables, $xfwhich $xfattributes $xfwill $xfbe $xfindexed, $xfand $xfso $xfforth.
data $xfmanipulation $xflanguages $xf(DMLs) $xf- $xfANSWER-refers $xfto $xfthe $xffour $xfbasic
$xfoperations $xfthat $xfcan $xfand $xfmust $xfbe $xfperformed $xfon $xfdata $xfstored $xfin $xfany $xfDBMS
$xf(or $xfin $xfany $xfother $xfdata $xfstorage $xfarrangement, $xffor $xfthat $xfmatter): $xfdata $xfretrieval,
$xfdata $xfupdate, $xfinsertion $xfof $xfnew $xfrecords, $xfand $xfdeletion $xfof $xfexisting $xfrecords.
SELECT $xf*
FROM $xfCUSTOMER
WHERE $xfCUSTNUMB $xfBETWEEN $xf1 $xfAND $xf2; $xf- $xfANSWER-What $xfwould $xfthe $xfSELECT
statement $xflook $xflike $xfif $xfyou $xfuse $xfa $xfBETWEEN.
, WHERE $xfHQCITY $xfIN $xf('Atlanta', $xf'Chicago', $xf'Washington'); $xf- $xfANSWER-What $xfwould $xfthe
$xfSELECT $xfstatement $xflook $xflike $xfif $xfyou $xfuse $xfa $xfIN.
SELECT $xf*
FROM $xfCUSTOMER
WHERE $xfHQCITY $xfLIKE $xf'W%'; $xf- $xfANSWER-What $xfwould $xfthe $xfSELECT $xfstatement
$xflook $xflike $xfif $xfyou $xfuse $xfa $xfLIKE.
A% $xf- $xfThe $xf"%" $xfmeans $xfthat $xfany $xfstring $xfof $xfcharacters $xfcan $xffollow $xfafterwards. $xfThe
$xfpercent $xfsign $xfrepresents $xfzero $xfor $xfmore $xfarbitrary $xfregular $xfcharacters
A_ $xf- $xfThe $xf_ $xfmeans $xfthat $xfthere $xfwill $xfbe $xfexactly $xfone $xfletter $xffollowing $xfthe $xfA. $xfThe
$xfunderscore $xfrepresents $xfa $xfsingle $xfarbitrary $xfregular $xfcharacter. $xf- $xfANSWER-What
$xfare $xfthe $xftwo $xfways $xfof $xfusing $xfthe $xfLIKE $xfcommand?
The $xfclause $xfcan $xfinclude $xfthe $xfterm $xfASC $xfat $xfthe $xfend $xfto $xfmake $xfascending
$xfexplicit $xfor $xfit $xfcan $xfinclude $xfDESC $xffor $xfdescending $xforder. $xf- $xfANSWER-The
$xfdefault $xforder $xffor $xfORDER $xfBY $xfis $xfascending. $xfHow $xfcan $xfyou $xfmake $xfit
$xfdescending $xforder?
SELECT
$xfAVG/SUM/MIN/MAX/COUNT(Column_Name) $xfFROM
$xfSALES
WHERE $xfName $xf= $xf'Matt'; $xf- $xfANSWER-Command $xfto $xfuse $xfAVG/SUM/MIN/MAX/COUNT
$xfaggregate $xffunctions?
o One $xfis $xfthat $xfthe $xftables $xfto $xfbe $xfjoined $xfmust $xfbe $xflisted $xfin $xfthe $xfFROM $xfclause.
o Two $xfis $xfthat $xfthe $xfjoin $xfattributes $xfin $xfthe $xftables $xfbeing $xfjoined $xfmust $xfbe $xfdeclared
$xfand $xfmatched $xfto $xfeach $xfother $xfin $xfthe $xfWHERE $xfclause. $xf- $xfANSWER-There $xfare $xftwo
$xfspecifications $xfto $xfmake $xfin $xfthe $xfSELECT $xfstatement $xfto $xfmake $xfa $xfjoin $xfwork.
SELECT $xfSPNAME
FROM $xfSALESPERSON, $xfCUSTOMER
WHERE $xfSALESPERSON.SPNUM=CUSTOMER.SPNUM $xf- $xfANSWER-Example $xfof $xfJOIN
$xfCAUSE.
Dr. $xfCODD $xf- $xfANSWER-In $xf1970, $xfDr. of $xfIBM $xfpublished $xfin $xfCommunications
$xfof $xfthe $xfACM $xfa $xfpaper $xfentitled $xf"A $xfRelational $xfModel $xfof $xfData $xffor $xfLarge $xfShared
$xfData $xfBanks." $xfThis $xfpaper $xfmarked $xfthe $xfbeginning $xfof $xfthe $xffield $xfof $xfrelational
$xfdatabases.
CREATE $xfTABLE
DROP $xfTABLE $xf- $xfANSWER-Commands $xfto $xfcreate $xfand $xfdrop $xfa $xftable?
- When $xfyou $xfcreate $xfthe $xfcolumn $xfdefinition $xf(known $xfas $xfa $xfcolumn $xfconstraint).
- When $xfyou $xfuse $xfthe $xfCONSTRAINT $xfkeyword $xf(known $xfas $xfa $xftable $xfconstraint). $xf-
$xfANSWER- $xfThe $xfCREATE $xfTABLE $xfcommand $xflets $xfyou $xfdefine $xfconstraints $xfin $xftwo
$