Purchase Solution

MS SQL STATEMENTS

Not what you're looking for?

Ask Custom Question

I am using Microsoft SQL Server 2000

1. Database Tables

TABLE: Employees

Job_title_code
Social_security_number
Last_name
First_name
Address
City
State
Zip_code
Telephone_area_code
Telephone_number
Email_address
Hire_date
Salary

TABLE: Job_title

Job_title_code
Job_title
Exempt_non_exempt_status
Minimum_salary
Maximum_salary

2. Queries using the SQL SELECT statement.
(Note: Select all of the data from both of your tables before you perform the following)

A. Choose a job_title_code: Increase all employees' salaries that have: job_title_code by 10%.

B. Choose a job_title_code in the job_title table. Increase the Minimum_salary and Maximum_salary for this job_title_code.

C. Increase all employees' salaries by 5%.

D. Choose an employee from the employee table, delete this employee.

Purchase this Solution

Solution Preview

Select * from Job_title,Employees;
a.
Update Employees
Set Salary = Salary + (Salary * .10)
WHERE job_title_code = \"a\"; I don\'t know an example ...

Purchase this Solution


Free BrainMass Quizzes
Basic Networking Questions

This quiz consists of some basic networking questions.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.