Create the database for the company

Assignment Help Database Management System
Reference no: EM131549916

Building the Human Resources Database

Description of LASA:
For this assignment, you will build the database that you designed in M3 Assignment 2 LASA 1 and populate it with employee information. Then, you will execute Structured Query Language (SQL) statements against the database in order to insert, update, modify, and display the information contained in the database.

Scenario:

The president of Altair Software has reviewed and approved the database design that you completed in M3 Assignment 2 LASA 1. You will now build, configure, and populate the database. Additionally, since Altair Software is a fast-growing company, there have been several changes in salary and personnel since you designed the database. You will need to write SQL statements to insert, update, and remove records in the database, as well as a statement to display the records and run them against the database to see the results.

The changes are as follows:

1. Both vice presidents easily surpassed their goals and objectives for the prior year and are being given salary raises. The new salary for the vice president position is $80,000.

2. To attract talented programmers directly out of college, Altair Software has decided to raise the base salary for both Programmer I and Programmer II by $5,000 to $40,000 and $50,000, respectively.

3. Programmer Arlene Smith was recruited by a competitor but in order to keep her with Altair Software, the company promoted her to the newly created position of Programmer III, with a salary of $60,000.

4. Altair Software hired two new employees:

a.      

Employee ID

402

Employee Last Name

Smith

Employee First Name

Frances

Street Address

4545 Oxbow Lane

City

Anytown

State

AZ

ZIP Code

85331

Department

DEV

Manager

John Smith

Position

Programmer I

Salary

$40,000

b.     

Employee ID

403

Employee Last Name

Smith

Employee First Name

Greg

Street Address

18951 Silverlake Avenue

City

Sometown

State

AZ

ZIP Code

85332

Department

SALES

Manager

Jane Smith

Position

Sales Representative

Salary

$25,000

5. Sales Representative Eric Smith left Altair Software to return to school to earn a bachelor's degree.

6. Programmer I, Bob Smith, moved out of state.

Tasks:

Note: As you complete the steps below, be sure to save your work often.

A. Create the Database for the Company
1. Using Microsoft Access 2010, create the tables that you designed inM3 Assignment 2 LASA 1. Be sure to use your third normal formtables. Enter each data field name in each table and save each table as you work.
2. Open each table in Design View (right-click the table in the navigation pane and click Design View) and set the appropriate field to be thePrimary Key.
3. While in Design View, ensure that each field is configured for the right type of data (text or number, for instance) and set the field size appropriately.
4. On the Database Tools tab, in the Relationships group, clickRelationships. Using your entity-relationship diagram as a guide, create the appropriate relationships between the tables by matching the appropriate data fields from each table.
5. Open each table (double-click the table in the navigation pane) and manually enter the appropriate company data. When you are done, each table should contain the same data that was entered in your spreadsheet from M3 Assignment 2 LASA 1.

B. Display the Information in the Database
6. Create an SQL query to display all the information in the database by following the steps below:
a. On the Create tab, in the Queries group, click Query Design.
b. Select all the tables in your database by holding the Ctrl key and clicking on each of the tables.
c. Click the Add button and then the Close button. The tables will be added to Design View window and you will see the relationships between the tables displayed.
d. Refer to M3 Assignment 2 LASA 1 and add each of the data fields in the order in which they are listed in M3 Assignment 2 LASA 1 to the query by double-clicking each field name in the appropriate table. You will see the query being built in theDesign View window.
e. On the Query Tools Design tab, in the Results group, click theRun button. This will execute the query against the database.
f. Review the report. When you are satisfied, close the results of the query and click Yes when prompted to save the changes. Name the query "Display Employee Information".
g. The query will now appear in the navigation pane. Right-click the query in the navigation pane, select Export, and then clickPDF or XPS.

Note: For components C, D, and E, you will use SQL View to write simple SQL statements to modify the database. To enter SQL View, complete the following steps:
1. On the Create tab, in the Queries group, click Query Design.
2. When prompted to add tables, click the Close button.
3. On the Query Tools Design tab, in the Results group, click on the down arrow below the word View and select SQL View. This is where you will compose your SQL statements.
4. To run your SQL statements against the database, click the Runbutton in the Results group.

C. Insert Records into the Database
1. Create an SQL query to create a new position entitled "Programmer III" with a salary of $60,000. Run the query against the database. You will be prompted to confirm that you want to modify data in your database. Click Yes. Close the query and save it as "Insert New Position".
2. Create an SQL query to create a new employee record for Frances Smith. Run the query against the database. You will be prompted to confirm that you want to modify data in your database. Click Yes. Close the query and save it as "Insert New Programmer".
3. Create an SQL query to create a new employee record for Greg Smith. Run the query against the database. You will be prompted to confirm that you want to modify data in your database. Click Yes. Close the query and save it as "Insert New Sales Representative".

D. Update Records in the Database
1. Create an SQL query to update Arlene Smith to Programmer III. Run the query against the database. You will be prompted to confirm that you want to modify data in your database. Click Yes. Close the query and save it as "Update Employee".
2. Create an SQL query to update the salary for the Vice President position to $80,000. Run the query against the database. You will be prompted to confirm that you want to modify data in your database. Click Yes. Close the query and save it as "Update Vice President Salary".
3. Create an SQL query to update the salary for the Programmer I position to $40,000. Run the query against the database. You will be prompted to confirm that you want to modify data in your database. Click Yes. Close the query and save it as "Update Programmer I Salary".
4. Create an SQL query to update the salary for the Programmer II position to $50,000. Run the query against the database. You will be prompted to confirm that you want to modify data in your database. Click Yes. Close the query and save it as "Update Programmer II Salary".

E. Delete Records from the Database
1. Create an SQL query to delete Eric Smith from the database. Run the query against the database. You will be prompted to confirm that you want to modify data in your database. Click Yes. Close the query and save it as "Delete Sales Representative".
2. Create an SQL query to delete Bob Smith from the database. Run the query against the database. You will be prompted to confirm that you want to modify data in your database. Click Yes. Close the query and save it as "Delete Programmer I".
3. Create a 1- to 2-page Microsoft Word document that includes answers to the following questions:
a. When an employee leaves Altair Software, the company deletes the employee record from the human resources database. Is this a good practice? Why or why not? How would you suggest the company handle employee separations?

F. Display the Information in the Database
1. Repeat Step B.6.g and name the PDF as M5_A1_Lastname_Firstname_EmpInfoAfter.PDF.
G. Compile SQL Queries and Database Reports for Submission

1. For each of the ten SQL queries you have created, perform the following steps:
a. Open the query in Design View (right-click the query in the navigation pane and click Design View).
b. On the Query Tools Design tab, in the Results group, click on the down arrow below the word View and select SQL View.
c. Copy the entire SQL statement and paste it into a Microsoft Word document.

2. Create a 2- to 3-page document in Microsoft Word and paste all of the SQL statements you created in Step E.3. Label each statement with the appropriate name, e.g., "Update Employee".

Reference no: EM131549916

Questions Cloud

Understanding of the topic : Why have attitudes toward diversity changed? Define and discuss the stages of personal diversity awareness? Use examples to support your ideas.
What exactly is the message of the good news : What exactly, is the message of the "Good News"? What, in light of the time of Jesus within the Roman Empire, made this message so revolutionary
What moral dielemmas does the case present : Summarizing the case article " Slavery in the chocolate industry "(64-67) what moral dielemmas does the case present?
Analyze additional information needed : Analyze additional information needed to develop a better marketing strategy. Assess how you would collect this additional information.
Create the database for the company : Create the Database for the Company - Display the Information in the Database - Update Records in the Database
Determine the optimum decision regions : The signal space for a seven-signal set transmitted over an additive white Gaussian noise (AWGN) channel with equal prior probabilities is shown in Fig.
Describe the individual and society in art : Art in Your Life Presentation: Individuals and Society- For this segment of Art in Your Life Presentation, you will be describing individual and society in art.
Appraise the western nations economic sanctions : How would you appraise the western nations' economic sanctions on Russia? Was it successful? Why or why not? Ask for details.
Penetrating theses with ten different sub-queries : Discussion questions and responses need not be intricate, penetrating theses with ten different sub-queries.

Reviews

Write a Review

Database Management System Questions & Answers

  Write functional dependencies in table concerns invoicing

Write the functional dependencies in the following table that concerns invoicing (an application Premiere Products in considering adding to its database), subject to the specified conditions.

  Explain eer model with data dictionary

Draw an EER model for the requirements identified in Part 1. The EER Model should be accompanied with a data dictionary which includes entity type table, relationship type table and attribute table.

  Briefly discuss your analysis plan

Briefly summarize your findings, conclusions, and clearly communicate the impact or meaning of what you have discovered.

  What type of entertainment events are the most popular

What type of entertainment events are the most popular? Has this always been the case or has there been a shift in recent years - Which area of venues used for organizing events is most popular in past 10 years?

  Create a switchboard for your database

Do not use the Main Switchboard page that is provided for you, but rather create a new Switchboard named with your first name and the word Switchboard. (For example, mine is called Janis Switchboard.)

  Explain the importance of electronic software application

Write clearly and concisely about topics related to information systems for decision making using proper writing mechanics and technical style conventions.

  Discuss advantages and disadvantages of using dynamic sql

Discuss the advantages and disadvantages of using dynamic SQL in you PL/SQL code? Respond to the following question in 200 words or less APA format.

  Create example model of relationship using mysq workbench

Come up with an original example of a one to many unary relationship. Create an example model of this relationship using the MySQL Workbench data modeler.

  Prototyping part of a database systems application

The assignment comprises designing and prototyping part of a database systems application. Students should form themselves into groups of up to 4 members and pass details of the members of their group to the course leader.

  Find out the benefits of data mining to the businesses when

the development of complex algorithms that can mine mounds of data that have been collected from people and digital

  Installation process between oracle 11g and oracle 10g

Create a document that will compare the installation process between Oracle 11g and Oracle 10g. Your submission document can be in the form of a MS Word document or a MS Excel spreadsheet. As long as you can adequately present your findings, the f..

  Show the records of depositor tables

Create 2 tables customer with fields customer_id, customer_name, customer_street, customer_city and depositor customer_id, account_number, balance Set relation between the two tables: Perform the following query: 1) Show the records of depositor tabl..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd