Professional Documents
Culture Documents
1. What is Ms-Access
2. How do we open Ms-Access? (show the steps to open Ms-Access)
3. List down the types of Relationship
4. What is the difference between Primary key and foreign key?
5. List down the at least 3 action queries.
II. Practical
1. Create a new folder by Your full name under C:/
2. Create a new Database by the name Ebraist Parmacy.
3. Create the following table under Ebraist Parmacy.
Medicine Table
M- M-Name Mf-Date Exp-Date Country Price Customer
Code No
M-001 Aspirin 12/06/92 10/13/97 India $650.00 C-006
M-002 Panadol 10/29/96 10/29/96 China $500.00 C-003
M-003 Ampicillin 09/09/90 10/10/95 India $375.00 C-002
M-004 Aspirin 11/07/93 11/15/98 India $679.00 C-005
M-005 Ampicillin 10/28/90 10/25/95 Singapore $450.00 C-002
M-006 Panadol 08/90/91 10/10/96 Ethiopia $900.00 C-001
M-007 Aspirin 12/11/90 12/12/95 Ethiopia $632.00 C-004
M-008 Ampicillin 05/05/91 09/04/96 India $580.00 C-003
M-009 Aspirin 10/07/90 10/10/95 Ethiopia $550.00 C-005
M-010 Panadol 09/20/92 10/10/97 India $175.00 C-006
a. Use proper data type for each given Field Name
b. For the Country field, allow peoples to insert only India, China, Singapore,
Ethiopia. And insert an appropriate text message if the rule violates.
c. Insert the appropriate Input mask for the fields.
d. Set India as a default value for Country Field
4. Design the following table under your database and save it as Customer Table.
Customer Table
Customer no C-Name Age Sex Tele Paid
C-001 Hailu 25 M 12 52 68 No
C-002 Jemal 19 M 10 10 21 Yes
C-003 Hirut 20 F 23 43 21 Yes
C-004 Mahlet 21 F 56 20 12 Yes
C-005 Eyob 20 M 25 41 00 No
C-006 Bekele 24 M 21 20 23 Yes
a. Use proper data type for each given Field Name
b. Set Customer no as Primary key
c. Insert the appropriate Input mask for the fields.
d. Make the Sex field to insert only one character
e. And also the field should accept either M or F and a message at the time
this violates.
f. The customer name should not be null.
Good luck!