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

Class Task

Uploaded by

andrewwawuyo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Class Task

Uploaded by

andrewwawuyo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

BTCICT

TASK ONE

04th September 2024

Question ONE:

Create a database named Kibaha_Halmashauri with the following tables:

1. Kibaha_Staff Table:

o Staff_ID (Primary Key)

o Staff_Name

o Gender

o Department

o DOB (Date of Birth)

2. Kibaha_Finance Table:

o CheckNumber (Primary Key)

o Staff_ID (Foreign Key referencing Staff_ID in Kibaha_Staff)

o Position

o Salary

3. Insert ten data for each table


Staff Table

Staff_ID Staff_Name Gender Department DOB


001 John Doe Male IT 1985-05-15
002 Jane Smith Female Finance 1990-08-22
003 Alice Johnson Female HR 1987-12-30
004 Robert Brown Male Marketing 1982-03-10
005 Mary Davis Female Administration 1992-06-18
006 Michael Wilson Male Finance 1989-01-25
007 Emily Clark Female IT 1995-07-14
008 David Martinez Male HR 1984-11-05
009 Sophia Rodriguez Female Marketing 1991-04-09
010 James Taylor Male Administration 1983-09-17
Kibaha_Finance Table:
CheckNumber Staff_ID Position Salary

1001 001 IT Manager 1200000

1002 002 Financial Analyst 1100000

1003 003 HR Specialist 1000000

1004 004 Marketing Manager 1150000

1005 005 Admin Officer 950000

1006 006 Accountant 1050000

1007 007 IT Support 950000

1008 008 HR Manager 1150000

1009 009 Marketing Exec 1000000

1010 010 Admin Assistant 900000

You might also like