Module 8.6

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

Dersvttatarsvbtvsse Prrtertogertrammiesvng with PL/SQL

3-rtbfdf RserveriewrvoftSQtLvte DserMserL eracvtetteice rvtActivities


Vocabulary
Identify the vocabulary word for each definition below:
fgrstgrtgdfsg
sergesrdfgt Statementxfghfxgb used to remove existing rows in a table.
ertyrety rdt65345 efrwefxgbqrfwerwerfrthrtgbrtgertgStatement used to INSERT
and/or UPDATE a target table, based on matching values in a source table.
sdfsfs Statement used to mofxgbdify existing rows in a table.
rtrty When you fgdfgy ihjfnserting or deleting rows).
regsedrgdtrgtuirfytjk
Try It / Solve It utrgbstyujtyyf
1. Evaluate the following SQL statement.
rtvserdrtrtdhrjouioydgdtt7yuj
DELETE sdfgvrFROM stuftyuufidents;
esrvawekyutkyukrthyjytjhyj
fgrstgrtgdfsgrtrth
sergesrdfgt Statementxfghfxgb used to remove existing rows in a table.
ertyrety rdt65345 efrwefxgbqrfwerwerfrthrtgbrtgertgStatement used to INSERT
and/or UPDATE a target table, based on matching values in a source table.
sdfsfs Statement used to mofxgbdify existing rows in a table.
rtrty When you fgdfgy ihjfnserting or deleting rows).
regsedrgdtrgtuirfytj
Thidgs SghjQL sthjdgatgement will:
A. Not ddue to dfgwronghjghg syntax
B. Delgjdghjefkfhjte the first row from STUDENTS
C. Deledftedfgj all rjhdgjows from STUDENTS
D. None ofdfgdf the abovegfh
dthdrhtrtdhrthfghfgfgh
fghdfnfnxdfgdfghnfghhmfghm
nghnghggmfghfghfdgbdfgrnfghmh
tdyjtfjftjytjghfhtyjfghmfghmrdt fgrstgrtgdfsg
sergesrdfgt Statementxfghfxgb used to remove existing rows in a table.
ertyrety rdt65345 sfrgdfhrefrwefxgbqrfwerwerfrthrtgbrtgertgStatement used to
INSERT and/or UPDATE a target table, based on matching values in a source table.
sdfsfs Statement used to mofxgbdify existing rows in a table.
rtrty When you fgdfgy ihjfnserting or deleting rows).
regsedrgdtrgtuirfytjhserg
ghmghmgmhhrjryjeyhgmghjgyjsrtsgfj
fgdtdrththnghnarhyehrfhjfg
A. Not ddue to wrong syntax gerhsrthdgh
B. Delete the first row from SfgnTUDENTdfsdfS
C. Deledfte all rows from STUDENTS sdfsf
D. None ofdfgdf the abovevdvsd

dfh
9.fgh hfgWrite and execute SQL statements to create the new_items table and
populate it with the data in the table.
hfhfh
10. Write a SQL statement that will update the grocery_items table with the brand
and description from the new_items table when the product ID values match. If they
don’t match, add a new row to the grocery_items table. DO NOT EXECUTE YOUR
STATEMENT YET.
ouiouiouigfdgdgf
11.uiouio dfgdfgHow many rows will be updated by the SQL statement in question
10?
uiouiouudfgioui
12.dfgdfgdf How mgdfgdfgany rows will be inserted by the SQL statement in question
10?
uiouiofgdfgdfgdfdf
13. Whiouioich of the following is true about the SQL statement in question 10?
A. niouiew_items is the source table and grocery_items is the target table. B.
grocery_items is the source table and new_items is the target table.
dfgdfgdfdgdgd
14. uiouExuiouiecudfgdf
dsfghdftyhgrt5grt
sdnvfusdayggcewyrhtuirjfgifmg
dfgdtryouiotretertdgfdgdfdf
rtrthfouiouiuiouierte
thtyjhtuioudrterterterterdfg
2sduiouioregthgtghgggggggggffffffff
ert4wt43tsdoiugfdgresgdf
gtriujiojoudfgddfgdgdfg
dfgdfgdfgdgdfgfgdfgdf

You might also like