subject

Assume that the following table is created and stored in your database:
staff (staff_no, name, position, salary, sex, job_id, hire_date)

write sql statements to do the following:

a. increment the salary of managers by 5%;
b. delete the records of all 'salesmen' from the staff table;
c. delete the record for the staff whose name is 'smith' and staff number is 17.
d. insert a new staff < 18, 'johnson', 'salesman, 2500, 'f'> in the database.
e. update the salaries for all staff who have one of the job ids similar to those in department 5.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:00
What computer network component allows data transfers from one computer to another through a telephone line?
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. a company wants to use online methods to target more customers. it decides to conduct a market research by collecting the data of a few customers with their consent. they want to track data of the sites that their customers frequently visit. which software can the company? a. spyware b. bots c. adware d. trojan horse e. rootkits
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
Asecurity policy is a a. set of guidlines b. set of transmission protocols c. written document d. set of rules based on standards and guidelines
Answers: 2
question
Computers and Technology, 24.06.2019 18:00
Your computer running windows 10 is doing some very strange things with the operating system. you are fairly certain it is not a hardware issue. you need to try to get further insight into what is going on within the operating system. which tool would be best-suited for this?
Answers: 1
You know the right answer?
Assume that the following table is created and stored in your database:
staff (staff_no, nam...
Questions
question
Mathematics, 09.05.2021 01:00
question
Mathematics, 09.05.2021 01:00
question
Mathematics, 09.05.2021 01:00
question
Mathematics, 09.05.2021 01:00
question
Mathematics, 09.05.2021 01:00
Questions on the website: 13722360