Professional Documents
Culture Documents
HPXS200 1 July Dec2020 MEMO W8 CM PDF
HPXS200 1 July Dec2020 MEMO W8 CM PDF
1. Your friend Bevan is a books lover, and has his own library. He would like to run a book rental
business and asked you to assist with creating a database.
1 HPXS200-1-July-Dec2020-T&L-Memo-CMu-15092020
2. Suppose there is a Boston students’ table called tblStudents with the following columns:
• FirstName VarChar
• Surname VarChar
• Gender number where 0 = Male, 1 = Female, 2 = Not Provided
• SupportCentre VarChar
• Age number
• Course VarChar
a) All students from the database that are from the Johannesburg support centres (“Randburg”,
“Braamfontein”)
b) All students that are studying “Accounting”
c) Students whose age is between 20 and 30 years
d) Students in the order of their age from the youngest to the oldest
e) Students with surname that starts with letter “M”
f) Only the support centre and the course of the students who are female
2 HPXS200-1-July-Dec2020-T&L-Memo-CMu-15092020