
- •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 10
Data base «Cinema»
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:
Cinema halls
Cinema_Hall_ID |
Cinema_hall_Name |
Number_of_seats |
|
|
Validation Rule |
Catalog_of_movies
Movie_ID |
Movie_Name |
Genre |
Starring |
Ticket_price |
|
|
|
|
Validation Rule |
Customers
Customer_ID |
Customer_Name |
Cell_Phone |
|
|
|
|
Input Mask |
Movie screening
Screening_ID |
Movie_ID |
Cinema_Hall_ID |
Date |
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 |
Tickets booking
ID |
Customer_ID |
Screening_ID |
Number_of_tickets |
|
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: Customer_Name, Movie_Name, Genre, Cinema_hall_Name, Date, Time, Number_of_tickets and Cost.
A select query with information (Customer_Name, Movie_Name, Genre, Cinema_hall_Name, Date, Time, Number_of_tickets and Cost) about cartoons screening in the current year.
An aggregate query that totals up the cost of the tickets by each movie.
A parameter query that represents information (Customer_Name, Movie_Name, Genre, Date, Time, Cost) by certain Cinema_hall_Name.
An action query that in the table “Catalog_of_movies” will increase Tickets Price of cartoons in 3D by 10%.
On the basis of the second query create a new “Make Table” one.
A crosstab query of total number of movies screening by movies and Cinema_hall_Name.
Create the forms:
1. Create «List of movies» form by using wizard on the basis of table «Catalog of movies». With the help of it add 5 records to the table.
2. Create “Catalog of customers” form in design view on the basis of table «Customers». With the help of it add 5 new records to the table.
3. A main form.
Create the reports:
1. Create «Movies» report by using wizard. Make a data grouping by Genres and Dates. The group Footer and the report Footer must include the total cost of the sold tickets.
2. Create report «Movie screening in the current year» in design view. In the report group data by Cinema_hall_Names, in the middle by MovieNames. The group Footer and the report Footer must contain the minimum and average number of sold tickets.