Assume that the following table is created and stored in your database:
Staff (staffNo, name, post, salary, sex, DOB)
Write SQL statements to do the following:
(a) Increment the salary of managers by 5%;
(b) Remove the records of all 'salesmen' from the Staff table;
(c) List the Staff table tablespace name, pctfree, and pctused.
Correct Answer:
Verified
UPDATE Staff
SET salary = salary *...
View Answer
Unlock this answer now
Get Access to more Verified Answers free of charge
Q4: The following tables form part of a
Q5: The relational schema shown below is part
Q6: A relational database contains details about journeys
Q7: The following tables form part of a
Q8: Write SQL*Plus commands to do the following:
Q10: What is a sequence? Write an SQL
Q11: (a) What is a 'table' and what
Q12: (a) What is a named block
Q13: Assuming that a single-row form is
Q14: Oracle database consists of logical and physical
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents