
- •Context
- •Introduction
- •1 Creating and working with a database in ms access 2003
- •1.1 Introduction to Databases
- •1.2 Planning a Database
- •1.3 Starting Access and Opening a Database
- •1.4 Self-control test
- •2 Creating a table in ms access 2003
- •2.1 Theoretical material
- •2.2 Example of tables creation for database “Product realization of Holding company “Group nord”
- •2.3. Self-control test
- •3 Creating queries in ms access 2003
- •3.1 Theoretical material
- •3.2 Example of queries creation for database “Product realization of Holding company “Group nord”
- •3.3. Self-control test
- •4 Creating forms in ms access 2003
- •4.1 Theoretical material
- •4.2 Example of forms creation for database “Product realization of Holding company “Group nord”
- •4.3. Self-control test
- •5 Creating reports in ms access 2003
- •5.1 Theoretical material
- •5.2 Example of reports creation for database “Product realization of Holding company “Group nord”
- •5.3. Self-control test
- •Individual tasks
- •Variant 1
- •Information about passengers
- •Variant 2
- •Variant 3
- •Variant 4
- •Variant 5
- •Variant 6
- •Variant 7
- •Variant 8
- •Variant 9
- •Variant 10
- •Variant 11
- •Vehicles
- •Variant 12
- •Variant 13
- •Variant 14
- •Information about printing-house
- •Variant 15
- •Variant 16
- •Literature
Variant 6
Data base «Theater repertoire»
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:
Genres
Genre ID |
Genre |
|
|
Performances
Show ID |
Show name |
Genre ID |
Director |
Conductor-producer |
Leading actors |
|
|
Lookup column with a definition of row source |
|
|
|
Places
Place ID |
Place name |
Address |
Rent price |
|
|
|
Validation Rule |
Repertoire
ID |
Show ID |
Place ID |
Date of show |
Time |
|
Lookup column with a definition of row source |
Lookup column with a definition of row source |
Validation Rule, Input Mask |
Validation Rule, Input Mask |
Set up relations between tables and fill it with data.
Create the queries:
A select query with the next information: Show name, Genre, Place, Director, Date of show, Time, Rent price.
A select query with information about performances (Show name, Genre, Place, Director, Date of show, Time, Rent price) that will be shown in the next month.
An aggregate query that totals up the general number of performances.
A parameter query that represents information (Show name, Genre, Place, Director, Date of show, Time, Rent price) by defined place of show.
An action query that will change in the Places table value in Place name field from “Donetsk state sports palace Druzhba” to “Donetsk state palace Yunost” only for shows that will take place in the next month.
On the basis of the second query create a new “Make Table” one.
A crosstab query of total cost of renting by shows and place.
Create the forms:
1. Create «Catalog of places» form by using wizard on the basis of table «Places». With the help of it add 5 records to the table.
2. Create “Information about performances” form in design view on the basis of table «Performances». With the help of it add 5 new records to the table.
3. A main form.
Create the reports:
1. Create «Repertoire» report by using wizard. Make a data grouping by genre and then by director. The group Footer and the report Footer must include the total cost of renting.
2. Create report «Repertoire of the next month» in design view. In the report group data by date, in the middle by genre. The group Footer and the report Footer must contain the minimum and average rent price.
Variant 7
Data base «An airport»
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 flying vehicles
Flying vehicles ID |
Appointment |
Model |
Number of seats |
|
Value: passenger transport, postal, agricultural, racing |
|
Validation Rule |
Air personnel
Commander aircraft ID |
Name of aircraft commander |
Rank |
Salary |
|
|
|
Validation Rule |
List of flights
Flight ID |
Route |
Range of flight |
Duration |
Ticket price |
|
|
Validation Rule |
Validation Rule |
Validation Rule |
Schedule
ID |
Flight ID |
Date |
Commander aircraft ID |
Flying vehicles ID |
Number of tickets |
|
Lookup column with a definition of row source |
Validation Rule, Input Mask |
Lookup column with a definition of row source |
Lookup column with a definition of row source |
Validation Rule |
Set up relations between tables and fill it with data.
Create the queries:
A select query with the next information: model and appointment of the flying vehicle, name of aircraft commander and he’s rank, route, range of flight, duration, date and cost of this flight.
A select query with information about flights (model and appointment of the flying vehicle, name of aircraft commander and he’s rank, route, range of flight, duration, date and cost of this flight) that was made in the current month.
An aggregate query that totals up the cost of the flights by dates.
A parameter query that represents information about flights (model and appointment of the flying vehicle, name of aircraft commander and he’s rank, date and cost of this flight) by certain route.
An action query that in the Air personnel table will increase salary of the aircraft commanders by 20%.
On the basis of the second query create a new “Make Table” one.
A crosstab query of total cost of sold tickets by routes and models of the flying vehicles.
Create the forms:
1. Create «Catalog of flights» form by using wizard on the basis of table «List of flights». With the help of it add 5 records to the table.
2. Create “Information about flying vehicles ” form in design view on the basis of table «Catalog of flying vehicles». With the help of it add 5 new records to the table.
3. A main form.
Create the reports:
1. Create «Air personnel» report by using wizard. Make a data grouping by names of aircraft commanders. The group Footer and the report Footer must include the total number of sold tickets.
2. Create report «Flights of the current month» in design view. In the report group data by dates, in the middle by routes. The group Footer and the report Footer must contain the average number of sold tickets and total cost of sold tickets.