0% found this document useful (0 votes)
3 views2 pages

Database Assignment 6 Table Relationships Document

Uploaded by

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

Database Assignment 6 Table Relationships Document

Uploaded by

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

Information and Communications Technology

Assignment 6:
Creating a relationship between two databases
Name: Mid-stakes: /4

Exceeds Expectations Meets Expectations Needs Improvement Beginning


(4) (3) (2) (1)
I am able to create a I am able to create a I am able to create another table, I am unable to create
relationship (including relationship. All my field Primary Key and change the data type, another table without
additional details) and the names are entered properly. but I need a lot of additional help and considerable help. I need to
relationship is working. may have incorrect field names. see the teacher after class
for help.

1. Open the database file Friends_database_YourName.


2. Today we are going to create a relationship between two databases (i.e. Contacts table and Library
table).
3. To do that, we have to create another database (named, Library) within the same file
(Friends_database_YourName).

4. To create another database named “Library” in the same database file,

Go to Create > Table Design (and create a new table).

5. Make two fields named “ID” and “Books borrowed from library”

6. Make the ID field a Primary Key.

7. Save the table under the name “Library”.

8. Note: Your each friend’s ID on Library database and the ID on Contacts database must be same.
For example: If Nazmul’s ID is 25 in Contacts database then in the Library database Nazmul’s ID
would also be 25.

9. In the Library database, according to the ID, make a list of number of books borrowed by each
person (you can made that number up). Don’t forget to save the tables.

10. Close all the tables!


11. Go to Database Tools > Relationships
12. Add two tables.

13. Connect both IDs


from two tables
(Drag and drop)
and select Create.

14. Save the


relationship and
go back to
Contacts table
(Datasheet view).

15. Each Record will


show a plus (+)
sign on the far left
column and if you
click that (+) sign
then it will tell you
how many books
that the person
has borrowed
from the library.

You might also like