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

Variant 3

Data base «Sport competitions»

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:

Sections

Section ID

Section

Description

Competitions

Competition ID

Title

Place of action

Date

Validation Rule, Input Mask

Participants

Participant ID

Participant name

Coach name

Age

Club

Section ID

Validation Rule

Lookup column with a definition of row source

Results of competition

ID

Participant ID

Competition ID

Points

Final Rank

Lookup column with a definition of row source

Lookup column with a definition of row source

Validation Rule

Validation Rule

Set up relations between tables and fill it with data.

Create the queries:

  1. A select query with the next information: Participant name, Coach name, club, Title of competition, Section, Points and Final Rank.

  2. A select query with information about competitions (Title of competition, Participant name, Coach name, club, Section, Points and Final Rank) that was carried out in the current month.

  3. An aggregate query that totals up the number of participants by every competition.

  4. A parameter query that represents information about competitions (Title of competition, Section, Place of action, Date, Participant name, Coach name, Club, Section, Points and Final Rank) by certain place of action.

  5. An action query that will change in the Competition table Place of action from “Makeevka” to “Donetsk” only for events that will take place in the next month.

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

  7. A crosstab query of total number of participants by competitions and clubs.

Create the forms:

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

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

3. A main form.

Create the reports:

1. Create «Participants of events» report by using wizard. Make a data grouping by Title of competition. The group Footer and the report Footer must include the total number of participants.

2. Create report «Tickets realization in the current month» in design view. In the report group data by flights, in the middle by dates. The group Footer and the report Footer must contain the minimum and average number of participants.