Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
LAB EXERCISE 1
CHAPTER 2 (CLO 3)
NAME
MATRIK NO
:
:
____________________________________
____________________________________
Department
JTMK
JTMK
JKE
JPA
Table 2
Address
Klang
Puchong
Subang Jaya
Kajang
4. Based on the following tables (Table 4 & Table 5), answer each
question.
STUDENT
ID_Student
Name
Age
Sex
State
1001
Azhar
20
M
Johor
1002
Chinta
19
F
Terengganu
1003
Raju
19
M
Kedah
1004
Yasmin
18
F
Sabah
1005
Dahlia
18
F
Kelantan
Table 4
LECTURER
ID_Lecturer
3120
3333
3123
Lec_Name
Liyana
Nurhani
Azizah
Subject
FP512
FP521
FP613
Table 5
State
Kelantan
Sabah
Kedah
Salary
2300
4000
2000
a.
Write the relation algebra to select the STUDENT tuples whose Age
number is 19 years old and State is Kedah.
(2 marks)
b.
State (LECTURER)
(2 marks)
ii.
State (LECTURER)
(3 marks)
6. Given that :
(2 marks)
(2 marks)
c. A (B C)
(3 marks)
~Question End~