Question

%20Capstone%20Project%20using%20Access.pdf t-content-rid-24664575-2/courses/209275/CIS%201 1 509620D Part 2 If your last name begins with the letter A-G: create a report that displays only the people who have paid at least $500 this year. Include the persons name, address, city, phone number, and YTD paid sorted by YTD paid (descending), then their last name. If your last name begins with the letter H-M: create a report that displays only the people who have a balance of more than $100. Include the persons name, address, city, phone number, and balance sorted by balance (descending), then their last name. If your last name begins with the letter N-S: create a report that displays the trainers for people who have paid less than $225 this year. Include the persons name, YTD paid, and the trainers name sorted by YTD paid (descending), then the persons last name. If your last name begins with the letter T-Z: create a report that displays the trainers for people who have a balance of SO. Include the persons name, balance, and the trainers name sorted by the persons last name, then the persons first name. queries, and/or reports should have appropriate names/titles. Name the file using your name. For example, John Doe would name the file DB-prj-Doe-lohn.accdb. Rubric Below are listed some of the more frequent mistakes that you can lose points for. This list is not all inclus Database not appropriately named. (-4) incorrect table definition. (-15) Tables not related. (-15) Missing key field. (-10) Incorrect key field. (-7) Incorrect related field. -7) Field missing. (-5) Related fields do not have same exact name, type, or size. (-5) Too few records in table. (-5) Incorrect field type. (-4) Field size is too large or small. (-3) Excessive redundancy. (-7) Missing query. (-20) Table, query, or report name does not describe content. (-5) Missing report.(-20) Report not sorted. (-7) Report not sorted by all criteria. (-4) Spelling error. (-2) Example There is no example for this project.
media%2F71c%2F71cb9f62-d6d1-4e59-9e96-1b
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Syntax to create the database

CREATE DATABASE database_name;

So create a database

CREATE DATABASE Inperson_Fitness;

From the above table you can create two tables

1. client table

2. trainer table

To avoid redundancy we can include either unique key or primary key in both the tables.

To relate two tables we need primary key in one table and foreign key in another table.

Thus we will choose primary key to establish uniqueness in both the tables.

Syntax to create table.

CREATE TABLE table_name (
    column_name1 datatype primary key,
    column_name2 datatype,
    column_name3 datatype);

Include a new column to the client table as client_id for uniqueness and in the trainer table we will include trainer_id to establish a relationship between two tables.

CREATE TABLE client (
    client_id number(10) primary key,
    clientname char(25),
    address varchar2(15), city char(15), state char(2), phoneno varchar(15), YTD_paid varchar(5), balance varchar(5));

Note: The YTD_paid and balance field are declared as varchar since in the table the data includes $ in these fields. If the $ is not there we can change it as number.

CREATE TABLE trainer(
    trainer_id number(10) primary key,
    client_id number(10) foreign key references client(client_id)
    trainer_name char(25), hourly_pay varchar(10));

Note: The hourly_pay is declared as varchar since in the table the data includes $ in these fields. If the $ is not there we can change it as number.

Thus the table has been created with proper firld names and sizes and included the primary key.

Add a comment
Know the answer?
Add Answer to:
%20Capstone%20Project%20using%20Access.pdf t-content-rid-24664575-2/courses/209275/CIS%201 1 509620D Part 2 If your last name begins with the letter A-G: create...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • You are the systems manager for Blue City Movies Rentals and you have been asked to create a report on historical sales data. To complete your task you will combine and edit data from multiple sources using Excel’s Power add-ins, XML, and tex

    You are the systems manager for Blue City Movies Rentals and you have been asked to create a report on historical sales data. To complete your task you will combine and edit data from multiple sources using Excel’s Power add-ins, XML, and text functions.Instructions:For the purpose of grading the project you are required to perform the following tasks:StepInstructionsPoints Possible1Open e10c2MovieRentals.xlsx and save the workbook with the name e10c2MovieRentals_LastFirst.02Import the movie data from the delimited file e10c2Movies.txt and rename the new worksheet Inventory.Hint: On the Data tab,...

  • Database Intro Salesmen Sheet Order_info Sheet Business_Info sheet 1.Create your own table design based on the...

    Database Intro Salesmen Sheet Order_info Sheet Business_Info sheet 1.Create your own table design based on the Excel data, and include all relationships (joins). Apply referential integrity rules wherever appropriate. Import the data from Excel to Access to populate tables: 1. Use the Chen technique and illustrate the E-R diagram for the tables you created Note: It may be necessary to change the data composition due to normalization issues, if you change the composition detail how and why; (you may find...

  • 1. Analyze the major challanges USB faced in the last 5 years, in your opinion, what...

    1. Analyze the major challanges USB faced in the last 5 years, in your opinion, what were the crucial factors in the banks downturn? 2. what are the main triggers to change the banks approach to communication and what is different today regarding the dealings and relationship to its share-and stakeholders? 3. How would you evaluate the constant replacement of the banks chairman and CEO? 4. in view of the future strategy of USB, what are your suggestions in order...

  • 1. Analyze the major challanges USB faced in the last 5 years, in your opinion, what were the cru...

    1. Analyze the major challanges USB faced in the last 5 years, in your opinion, what were the crucial factors in the banks downturn? 2. what are the main triggers to change the banks approach to communication and what is different today regarding the dealings and relationship to its share-and stakeholders? 3. How would you evaluate the constant replacement of the banks chairman and CEO? 4. in view of the future strategy of USB, what are your suggestions in order...

  • ** Please read the case study below to answer question 1, 2 and 3 Starbuck Community....

    ** Please read the case study below to answer question 1, 2 and 3 Starbuck Community. Connection. Caring. Committed. Coffee. Five Cs that describe the essence of Starbucks Corporation, what it stands for and what it wants to be as a business. With more than 19,000 stores in 62 countries, Starbucks is the world's number one specialty coffee retailer. The company also owns Seattle's Best Coffee, Tsavana. Taze, Starbucks VIA, Starbucks Refreshers, Evolution Fresh, LaBoulange, and Verismo brands. It's a...

  • CASE 8 Unlocking the Secrets of the Apple iPhone in the Name of access the male...

    CASE 8 Unlocking the Secrets of the Apple iPhone in the Name of access the male San Bernardino suspect's iPhone 5c. Cook stated: Antiterrorism We are challenging the FBI's demands with the deepes respect for American democracy and a love of our country. We believe it would be in the best interest of everyone to step back and consider the implications While we believe the FBI's intentions are good, if would be wrong for the w e nt to force...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT