Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Ilenko_YU.I._Stvorennya_baz_danih_u_seredov._MS...doc
Скачиваний:
0
Добавлен:
01.05.2025
Размер:
3.6 Mб
Скачать

Variant 2

Data base «Project organization»

According the offered structure of the relational database build the necessary objects of it: tables, queries, forms and reports. Form a general report from the printed database objects and description of its implementation.

Create the tables:

Catalog of Appointments

Appointment ID

Appointment title

salary

Validation Rule

Catalog of Employees

Employee ID

Name

Appointment ID

Date of birth

Date of job receiving

Department

Lookup column with a definition of row source

Validation Rule, Input Mask

Validation Rule, Input Mask

Catalog of Projects

Project ID

Project title

Curator

Date of beginning

Date of ending

Budget

Validation Rule, Input Mask

Validation Rule, Input Mask

Input Mask

Projects realization

ID

Project ID

Employee ID

Description of work stage

Date of stage ending

Lookup column with a definition of row source

Lookup column with a definition of row source

Validation Rule, Input Mask

Set up relations between tables and fill it with data.

Create the queries:

  1. A select query with the next information: project title, curator, dates of beginning and ending, employee name, appointment title, description of work stage, date of stage ending.

  2. A select query with information about employees (project title, curator, dates of beginning and ending, employee name, appointment title, description of work stage, date of stage ending) who are going to finish work on their projects in the current month.

  3. An aggregate query that totals up the number of employees who work on the projects.

  4. A parameter query that represent information about projects (project title, dates of beginning and ending, employee name, appointment title, description of work stage, date of stage ending) by certain curator.

  5. An action query that will increase the salary of employees by 250 hrn.

  6. On the basis of the first query create a new “Make Table” one.

  7. A crosstab query of average project budget by curators and date of its beginning.

Create the forms:

1. Create «List of employees» form by using wizard on the basis of table «Catalog of Employees ». With the help of it add 5 records to the table.

2. Create “Projects” form in design view on the basis of table «Catalog of Projects». With the help of it add 5 new records to the table.

3. A main form.

Create the reports:

1. Create report «Projects realization» by using wizard. Make a data grouping by project title and appointment title, the totals for groups and report generally must include the average salary.

2. Create report «Projects realization in the current month» in design view. In the report group data by curators, in the middle by project titles. Totals for groups and report as a whole must contain the number of employees who work on the projects and their average salary.