0% found this document useful (0 votes)
31 views

DB Excercise One

The document provides instructions for creating and manipulating tables in a database using proper data types and field properties. It includes steps to: 1) Create tables for members and member salaries with a relationship between them. 2) Create queries to display voluntary members' information and members in Addis Ababa who volunteer. 3) Update low salaries by 20% and delete non-Addis Ababa records. 4) Produce a city query and member report on specified fields.

Uploaded by

Ethiopian Code
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)
31 views

DB Excercise One

The document provides instructions for creating and manipulating tables in a database using proper data types and field properties. It includes steps to: 1) Create tables for members and member salaries with a relationship between them. 2) Create queries to display voluntary members' information and members in Addis Ababa who volunteer. 3) Update low salaries by 20% and delete non-Addis Ababa records. 4) Produce a city query and member report on specified fields.

Uploaded by

Ethiopian Code
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/ 1

CPU Business & Information Technology College

Department of Information Technology


Exercise
Competency: Operate DB Applications
Trainer: Leul.M
1. Create the new database by the name PRACTICE under your folder.
2. Create the following tables: use proper data types and appropriate field properties depending on
the nature of the table and records that reside in the table. Set Number (members number),
primary key field. Save the table by the name Members.
3. Create Data Entry Form for Both Table
NUMBER TITLE FNAME LNAME CITY MEMB- MEM- DUE VOLUNTEER
SINCE EXPIRS S
T720 Mr. Thomas Belay AA 05/15/92 02/10/95 100 True
S608 Mrs. Abeba Girma DZ 12/31/90 06/12/95 50 False
H709 Dr. Sally Ali AA 12/25/91 01/30/95 75 True
K120 Mr. Girum Kassa DD 10/23/93 05/15/96 25 True
Z304 Mr. Nega Tegen AA 07/11/91 02/01/95 125 False
Z129 Prof. Abass Boge DZ 10/21/92 09/09/97 150 True
V102 Mrs. Wubet Wube AA 11/15/90 01/06/95 75 False

4. Create another table, use proper data types and appropriate field properties. Set a primary key
field; Save the table by the name Members Salary.
NUMBER FNAME SEX TEL. SALARY
T720 Thomas M (011)-567890 5400
S608 Abeba F (011)786543 3466
T720 Thomas M (011)-543212 347
H709 Sally F (011)-678900 8904
K120 Girum M (011)-768767 3457
Z304 Nega M (011)-670080 980
H709 Sally F (011)-456543 789
Z129 Abass M (011)-102029 600
V102 Wubet F (011)-676758 5300
Z129 Abas M (011)-779800 456

4. Establish an appropriate (enforced) relationship between the tables.


5. Create a query that Display the FName , Dues, City and VOLUNTEER of Member VOLUNTEER
is True Save the By The Name Voluntary members
6. Create copies of both tables.
7. Design a select query that selects members whose city is Addis Ababa and who are volunteers.
8. Delete Records of Member who their city is Not AA From Member table
9. Update salaries of Member who earn less than 1000 by 20% Increment save the Query by the
name Bones
10. Create a query that access Members’ City and displays all instructors who are same City. Save
the query By the Name City Query.
11. Create a report using the fields TITLE ,FName , LName, Sex, and SALARY Use Member
Reports as a title.
12.

You might also like