Create a database for store company details, Database Management System

Assignment Help:

You group has been hired by  TrainingrUs.com to keeps track of training revenues. TrainingrUS.com wants you to keep scheduling.

COURSE table contains following information:

  1.  Course ID (PK)
  2. Price
  3. Instructor Name
  4. Instructor Address

Note: Primary Key (PK) is COURSE ID

Identify FK, if any

TRAINEE table contains following information:

  1. Trainee ID (PK)
  2. Course_ID (PK)
  3. Trainee name
  4. Date of training

Note: PK is (Trainee ID, Course_ID)

Identify FK, if any

Training session signed for is the same as Course ID in COURSE table

Following sample data is available:

                                                            COURSE Sample data

Course ID

Price ($)

Instructor Name

Instructor Address

S111

2850

Harry

UB

S121

3200

Polly

UB

S145

1200

Smith

Loyola

H111

500

Morton

JHU

H123

2200

David

JHU

TRAINEE sample data

Trainee ID

Course_ID

Trainee Name

Date of training

A101

H111

Sam Paper

10/02/2009

A101

H123

Sam paper

10/03/2009

A110

S111

Mary Poppins

11/01/2009

B112

S111

Alex Johnson

11/01/2009

B112

S121

Alex Johnson

11/02/2009

B112

S145

Alex Johnson

11/06/2009

B222

H123

John Watt

10/03/2009

B222

H111

John Watt

10/01/2009

B222

S111

John Watt

11/06/2009

B222

S121

John Watt

11/02/2009

B222

S145

John Watt

10/05/2009

C111

H123

Jong Chu

10/03/2009

C111

H111

Jong Chu

10/02/2009

F456

S111

Jerry Long

11/08/2009

F555

S111

Willy Polk

11/08/2009

F555

S145

Willy Polk

11/06/2009

F555

H111

Willy Polk

10/02/2009

X123

H123

Shirley Dent

10/03/2009

X123

S111

Shirley Dent

11/06/2009

PART A:

  • Develop the tables in ACCESS database Systems
  • Identify PK and FK of each table (can do in WORD)

Table 1 (identify PK and FK relationships)

Table Name

COURSE

TRAINING

Primary Key (PK)

 

 

Foreign Key (FK)

 

 

Submit this table as  Part A (section 2) requirement to be submitted see below

  • Show the relationship (1:1 or 1:m or m:n) between the following:

 

PART B:

Develop the following queries in ACCESS and run (execute) them

1. List the course ID and its cost, format the output appropriately.

2. Give the trainee name and the number of classes each trainee is taking.

3. How many trainees are taking classes on November 6th? (Give a count)

4. Give the training sessions and their dates (make sure there is no repetition of session and corresponding date).

5. How many students are registered per training section?

6. How many courses are there?

7. How many classes John Watt is taking?

8. Give the total amount paid by Willy Polk

9. Give the names of instructors teaching on November 6th


Related Discussions:- Create a database for store company details

Define single valued and multivalued attributes, Define single valued and m...

Define single valued and multivalued attributes. Single valued attributes: attributes with a single value for a particular entity are known as single valued attributes. Mult

Give the general form of sql query, Give the general form of SQL query? ...

Give the general form of SQL query? Select  A1, A2............., An From  R1, R2..............., Rm Where  P

Database part of ldb?, Is it mandatory to declare all the tables in Report ...

Is it mandatory to declare all the tables in Report by the key word tables for all the tables that exist in the structure of LDB, and are being explained in the Database part of LD

What is called a query evaluation plan, What is called a query evaluation p...

What is called a query evaluation plan? A sequence of primitive operations that can be used to assess a query is a query evaluation plan or a query implementation plan.

Entity relationship diagram, The Enhanced Entity Relationship Diagram (ERD)...

The Enhanced Entity Relationship Diagram (ERD) produced with a drawing or case tool. Your EERD must use a ''standard'' notation style such as Crows Foot or Chen. Please note that t

Er schema can be represented by relation schemas , Q. Describe how an ER sc...

Q. Describe how an ER schema can be represented by relation schemas and constraints arising from ER design can be mapped to constraints on a relation schema.     The entity rela

What does authentication refer, What does authentication refer? Authent...

What does authentication refer? Authentication refers to the task of verifying the uniqueness of a person.

Concatenation operator-data manipulation language, Concatenation operator ...

Concatenation operator Example : Printing name and job as one string as column name employees: SELECT ENAME||JOB "EMPLOYEES" FROM EMP;

Give the limitations of sql authorization, Give the limitations of SQL auth...

Give the limitations of SQL authorization. The code for checking authorization becomes intermixed with the rest of the application code. Implementing authorization by applic

Describe object relational model, Describe Object Relational model ? O...

Describe Object Relational model ? Object Relational Model - This model combines the characteristics of both relational model and object oriented model. It extends the tradit

Write Your Message!

Captcha
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