0% found this document useful (0 votes)
291 views3 pages

You Need To Create A Database For A Public Library To Store Book Details

Uploaded by

rs7992402
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
291 views3 pages

You Need To Create A Database For A Public Library To Store Book Details

Uploaded by

rs7992402
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

You are supposed to create and save a database with tables, relationships, queries

and reports using MS Access 2007, according to the instruction given below.
1. You need to create a database for a public library to store book details. For this, create a blank
database and save it with your index number and the Question code.
E.g.: <Your Index No>_A01 [05 marks]

2. Create a table called “Books” with the following fields. [20 marks]

Field Name Type Field size Constraints


ID Number Primary key
Title Text field 50 characters
Description Text field 30 characters
Category Number
No of copies Number

3. Create a form to enter details about books and save it as “Books Form”. [ 10 marks ]

4. Add following records to the “Books” table using the “Books Form”. [ 10 marks ]

ID Title Description Category No of copies

1 Word Hard cover 2 2

2 Computers Hard cover 4 2

3 Access Paperback 2 2

4 Art Hard cover 1 1

5 Science Paperback 3 1

5. Create another table called “Book Copies” with the following fields. [ 15 marks ]

Field Name Type


ID Number
Book_ID Number
ISBN Number
Version Number

6. Identify the primary Key(s) of this table (if there is any) [ 05 marks ]

7. Insert following records to the “Book Copies” table. [ 05 marks ]


ID Book_ID ISBN Version
1 1 1234 1
2 1 1235 2
3 2 1236 1
4 2 1237 3
5 3 1238 2
6 3 1239 3
7 4 1241 4
8 5 1242 7

8. Establish the Relationship between “Books” and “Book Copies”. [ 10 marks ]

9. Write a query called “Query_Book category” to display all books which belongs to given
category; E.g. Category 02. [ 10 marks ]
10. Create a report called “Book Details” using the following format and save it. [ 10 marks ]

Book Details Author: <Your Index No>

Date: <Date>

Title Description No of Copies

Word Hard Cover 2

Computers Hard Cover 2

Access Paper back 2

Art Paper back 1

Science Paper back 1

Page 1 of 1

11. Save your database again and upload it to e-testing system. Make sure you have saved the
document as follows: .: <Your Index No>_A01 [ 10 marks ]

You might also like