Thanks to visit codestin.com
Credit goes to www.scribd.com

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

Query Exercise

The document outlines the steps to create a database named StudentsDatabase.mdb, including the creation of four tables: StudentProfile, CourseLookup, LevelLookup, and GenderLookup, with specified fields and primary keys. It also includes instructions for entering sample data into the StudentProfile, LevelLookup, and GenderLookup tables. The document specifies data types, input masks, and formatting for each field in the tables.

Uploaded by

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

Query Exercise

The document outlines the steps to create a database named StudentsDatabase.mdb, including the creation of four tables: StudentProfile, CourseLookup, LevelLookup, and GenderLookup, with specified fields and primary keys. It also includes instructions for entering sample data into the StudentProfile, LevelLookup, and GenderLookup tables. The document specifies data types, input masks, and formatting for each field in the tables.

Uploaded by

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

Create a new database and save it as StudentsDatabase.

mdb

1. Create this table. Save it as StudentProfile

StudentID Text (10 Characters) - Inputmask – “ETC-“999999


StudentName Text (30 Characters)
Birthday Date - Format – Standard Date
Age Number - Integer
CourseID Number - Integer
LevelID Number - Integer
GenderID Number - Integer

Set StudentID as primary key

2. Create this another table. Save it as CourseLookup

CourseID Autonumber
Course Text (30 Characters)

Set CourseID as primary key

After you finish, enter data on the table

3. Create this another table. Save it as LevelLookup

LevelID Autonumber
Level Text (10 Characters)

Set LevelID as primary key

After you finish, enter the following data:


LevelID Level
1 Level 1
2 Level 2
3 Level 3
4 Level 4
5 Level 5

4. Create this another table. Save it as GenderLookup

GenderID Autonumber
Gender Text (6 Characters)

Set GenderID as primary key

After you finish, enter the following data:


GenderID Gender
1 Male
2 Female

Continue on next page..


5. Enter value for Table1: StudentProfile
StudentID StudentName Birthday Age CourseID LevelID GenderID
ETC-000001 Name 1 Bday1 Age1 1 2 1
ETC-000002 Name 2 Bday2 Age2 2 1 2
ETC-000003 Name 3 Bday3 Age3 3 3 2
ETC-000004 Name 4 Bday4 Age4 1 4 2
ETC-000005 Name 5 Bday5 Age5 2 3 1
ETC-000006 Name 6 Bday6 Age6 3 5 2

You might also like