You are on page 1of 1

Teaching and Learning Activity

Module: Systems Development 3 (HSYD300-1)


Week number (Date): 3 (26 August 2021)
Unit covered: Chapter 7 - 10

To enrich your learning experience at Boston even further, and to ensure that you are exposed to a

variety of resources in this module, announcements will be posted every week containing additional

materials or activities for you to work through.

It is important to note that these activities are neither compulsory nor weighted, but that it will be to

your advantage to participate. The purpose of the activities is to help you better understand the content

of your weekly unit/s of study, and it will assist in creating insight and deeper meaning.

Activity 2 is based on Chapter 7 to Chapter 10 of the prescribed courseware for this module. The

suggested solutions will be posted on ColCampus next week Thursday.

Imagine that you are developing an application in PHP. The application works with a MySQL
database that contains staff data. The database has the following three relations:

• Staff_Info
• Section
• Department

1 • Using MySQl syntax, show how you would create the staff database. In your
answer, use any suitable field set of your choice. You must include the fields
staff_id, staffName, section_ID, Department_ID in the appropriate relations.

2 Name the MySQL command that you would use to validate your work in Question 1
above.

3 With reference to the staff database you created in Question 2, explain the meaning
of the term “relationship” as it is used in database technology.

4 Write PHP code that displays the contents of the staff_info table..

1 HSYD300-1-July-Dec2021-T&L-Week3-StM-V1-06082021

You might also like