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.
ouiouioui
11.uiouio How many rows will be updated by the SQL statement in question 10?
uiouiouuioui
12. How many rows will be inserted by the SQL statement in question 10?
uiouio
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.

14. uiouExuiouiecute the SQL statement you wrote in question 10, and then SELECT
all data from the grocery_items table to verify your answers to questions 11 and
12.

dsfghdftyhgrt5grt
sdnvfusdayggcewyrhtuirjfgifmg
dfgdtryouio
rtrthfouiouiuioui
thtyjhtuiou
2sduiouio
ert4wt43tsdoiu
gtriujiojou

You might also like