Preview

microsoft access

Satisfactory Essays
Open Document
Open Document
470 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
microsoft access
1a). Using the five tables below, create tables and link them through relationships. The tables should contain primary and foreign keys (where needed). (5 points)

Tables: City, Staff, Room, Hotel, and Guest.

1b). Using the five tables below, create tables and link them through relationships. The tables should contain primary and foreign keys (where needed). (5 points)

Tables: Book, University, Publisher, Library, and Author.

Section 2

2). Use the following information to create tables and link them through relationships. There are two pairs of relationships in this question. One of them is Department-Employee which has the relationship of one-to-many. The tables should contain primary and foreign keys (where needed). Do not create your own fields. Use the fields given to determine primary and foreign keys. Create three tables in Microsoft Access and input the data using forms (3 forms). Create a Form/Subform for the Department/Employee table and create a lookup column for BonusWitholdRate field in the Subsidiary table and Gender field in the Employee Table. Save the database as Subsidiary.

SubCode
SubName
BonusPayment
WithHoldRate
Revenue
Expense
S001
Lotus
875,000
.20
8,000,000
4,000,000
S002
Tulip
745,000
.18
6,000,000
2,000,000
S003
Daisy
925,000
.25
9,000,000
6,000,000
S004
Jasmine
765,000
.12
7,000,000
2,500,000
S005
Lavender
645,000
.10
7,000,000
3,500,000

DepartmentCode
Depart.Name
EmpNo
EmpName
EmpGender
D001
Finance
E001
Harry
Male
D002
HR
E002
Chris
Undefined
D003
Marketing
E003
George
Undefined
D004
Production
E004
Molly
Female
D005
R&D
E005
Angelina
Female

Create the following queries
1). Annual bonus after withhold which is more than $65,000
2). Annual net profit for each subsidiary.

Create a report based on the results of each query. Your first report should

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Part 1 1. Write a script which will Create the needed tables as follows: a. Table name : DEPT i. Column datatype Mandatory? PK? FK?…

    • 1169 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    3. (2 pts) Draw the ERD for the following scenario. Include all the attributes. Note that one of your tables will have a composite identifier.…

    • 298 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    It2640 Week 5 Appendix B

    • 632 Words
    • 3 Pages

    Prior to designing my database, I will have a clear understanding of the data. This will allow me to determine the purpose of the database. Once all information is gathered, I will divide this information into tables. Information will be properly placed into columns and I will set a primary key. Upon completion of table design, I will set the relationships between tables. I will refine my design and apply normalization rules to my design.…

    • 632 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    cis3730_Exam1_Studyguide

    • 512 Words
    • 2 Pages

    Be able to give examples of tables, specify their primary keys, and explain how they are related through foreign keys.…

    • 512 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    This memo is to inform you that your service request SR-ta-001 has reached my desk and currently is in the process of being completed. The purpose of this memo is to report the progress on the service requests. Currently I am in the stage of normalizing the database to the third normal form. By normalizing the database to the third level of normalization I will ensure that the data is efficiently organized within the database by removing duplicate and redundant data from the database relations. Normalizing the data to the normal third will help free up space and make it easier for the users to retrieve the data by elimination of the same data stored in more than one relation. In addition, normalizing to this level will also ensure data integrity, scalability, and storage efficiency. I have made sure that that there are no repeating columns or rows within the same tables and each column has only one value and one data type therefore the level of 1 normalization has been completed. I then continued to normalize the database to the second level of normalization by ensuring that each nonkey attribute is fully dependent on the key columns of the table. Once level one and two normal form had been completed I continued by establishing primary and foreign keys along with relationships. I will keep in contact with you as the project nears completion.…

    • 329 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    The following diagram (1-1) is entity relationship (E-R) diagram and it illustrates the existing data tables.…

    • 851 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    b) You are to clearly mark Primary and Foreign Keys as shown in the sample below:…

    • 1494 Words
    • 19 Pages
    Powerful Essays
  • Satisfactory Essays

    3. Consider a table of data about employees. Which of the following fields are keys? Which one would you choose as the primary key? Employee ID Why? Because it is a unique number assigned to each employee.…

    • 421 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    b) 10 Convert the one table in the previous question to a relational database design. Fill each table in your…

    • 1445 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    As part of this proposal, the below charts will diagram the database. It is to be used as a reference to the purposed database. Tables have been diagramed along with the proper schema, data types, and primary/secondary keys.…

    • 515 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    week 4 Discussion 1

    • 447 Words
    • 2 Pages

    Optimal database design recognizes proper organization of table structures and relationships. Suggest at least two methods that can be used to improve the design of a database system.…

    • 447 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Discussion Board

    • 460 Words
    • 2 Pages

    I need to complete this assignment but I am having a hard time understanding it. Can someone give me some pointers on what to write on the DB? I just need a guide to start off with.…

    • 460 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Information Systems

    • 386 Words
    • 2 Pages

    d) Explain how the two tables are related. Which table contains the foreign key? What is the foreign key?…

    • 386 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    MS Access - Part 1

    • 468 Words
    • 2 Pages

    1. Raw data that has been organized so as to become useful is also known as…

    • 468 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Assingment2

    • 906 Words
    • 3 Pages

    2. List at least four basic rules for identifying primary keys in a relational database. Mention how you would go about identifying the foreign keys in your design. Briefly discuss foreign key ownership and how to indicate a foreign key in your relational database model.…

    • 906 Words
    • 3 Pages
    Good Essays