Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task # 5 : Updating Rows Staff Which of the following SQL statement properly adjusts an in the table above? A . UPDATE Staff SET

Task #5: Updating Rows
Staff
Which of the following SQL statement properly adjusts an in the table above?
A. UPDATE Staff SET bAddress ="195 Post Rd., Glasgow" WHERE staffNo =
"SG37";
B. UPDATE Staff SET bAddress ="195 Post Rd., Glasgow";
C. UPDATE Staff SET bAddress ="195 Post Rd., Glasgow" WHERE branchNo
=?aBOO3";
Task #6
Updating Rows
Staff
Based on a close reading of the choices in Task #5, name one anomaly (mistake)
that could rise when updating records?
Task #7
Deleting Rows
Which of the following SQL statement properly deletes a staff record. Additionally
explain the rationale for each of the choices (correct and wrong ones)?
A. DELETE FROM Staff WHERE staffNo ="SA9";
B. DELETE FROM Staff;
C. DELETE FROM Staff WHERE position = "Assistant""
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Joline Morrison, Mike Morrison

2nd Edition

? 061906448X, 978-0619064488

More Books

Students also viewed these Databases questions

Question

Explain the function and purpose of the Job Level Table.

Answered: 1 week ago