Uploaded by kavi krist

EEI3266 lab Test 1

advertisement
Exercise 1
1. Create a new database for the Computer shop, Save it on the desktop and
name it “Customer ”
2. Create a Table in the Customer database with following
Field Name
Data type
Filed Size or format
ID Number
Short text
10
Customer first name
Short text
50
Customer last name
Short text
50
Telephone number
Number
Long Integer
Date of birth
Date/Time
Medium Date
Bill amount
Currency
Currency
Foreigner
Yes/No
Yes/No
3. Make the “ID Number” Field as the Primary Key.
4. Save the table as “Customer Records Table”
Exercise 2
1. Open the” Customer Records Table” and enter 10 complete Records
2. Sort the table in ascending order by Customer last name
3. Move the date of birth and Telephone number fields so that the date of birth
field is now directly after the Customer last name field.
4. Delete the last 2 records you have entered
5. Change the field size of the Customer last name to 100
Exercise 3
Create another table in the “Customer database” with following
Field Name
Data type
Filed Size or format
Item code
Short text
10
Item name
Short text
20
Item Brand
Short text
50
Description
Long text
200
Purchase price
Currency
Currency
Selling price
Currency
Currency
1. Open the” Item Table” and enter 5 complete Records
2. Sort the table in ascending order by Item name
3. Delete the last record you have entered
4. Change the field size of the Item name to 70.
5. Change the “Description” field name to “Item Description ”
Download