Sie sind auf Seite 1von 5

Prak. Basis Data Sem.

Genap 2013

Modul 2
Isikan data2 berikut ke dalam tabel2 yang sesuai

Table Job
JOB#
HOD
SOD
LEC
HOS
STF

JOBTITLE
Head of Department
Secretary of Department
Lecturer
Head of Staff
Staff

MINSALARY
900
700
650
1000
300

MAXSALARY
950
880
800
1000
700

Table Faculty
STAFF#
811
831
851
891
911
912

NAME
Ken Robinson
Geoff Whale
Claude Sammut
Tim Lambert
Gernot Heiser
Arun Sharma

DEPT#
4
1
1
2
2
1

921
922
931
932
951
961

2
3
2
2
1
4

971
700
721
722

Anne Ngu
Arthur Ramer
Andrew Taylor
John Shepherd
Graham Mann
Richard
Buckland
Ashesh
Mahidadia
Xuemin Lin
Steven King
Valli Pataballa
Oliver Tuvault

736

Jennifer Whalen

750
766

Eleni Zlotkey
Hazel Philtanker
Donald
OConnell

962

767

HIREDATE
13-APR-00
27-DEC-00
16-JUN-01
04-APR-00
17-FEB-01
01-MAY02
23-OCT-01
05-JAN-00
09-DEC-02
19-DEC-02
13-SEP-02
07-APR-02

SALARY
950
900
700
900
800
780

COMMISSION
.2
.05

HEADOF
831
891
831

JOB
HOD
HOD
SOD
HOD
SOD
LEC

800
940
750
740
650
880

.05
.1

891
911
911
831
811

LEC
HOD
LEC
LEC
LEC
SOD

750

.15

811

LEC

700
1000
600
700

.2
-

932
700
700

LEC
HOS
STF
STF

550

721

STF

24-MAY02
25-DEC-03
01-JAN-00
28-FEB-00
14-FEB-01
04-MAR01
20-JUN-02
18-AUG-02

500
400

.1
.1

721
722

STF
STF

03-SEP-04

300

.05

750

STF

4
2
-

Prak. Basis Data Sem. Genap 2013

Table Student
STUDENT#
2111111
2111222
2113567
2114213
2154321
2166612
2171234
2175777
2187654
2191929
2211111
2211222
2213567
2214213
2254321
2266612
2271234
2275777
2287654
2291929

NAME
John Smith
Jack Smith
Jim Smith
Joe Smith
Jill Smith
James Smith
Jenny Smith
John Smith
George Smith
Greg Smith
John Smith
Jack Smith
Jim Smith
Joe Smith
Jill Smith
James Smith
Jenny Smith
John Smith
George Smith
Greg Smith

MAJOR
Comp Sci
Comp Eng
Comp Sci
Comp Eng
Comp Sci
Comp Eng
Comp Eng
Comp Sci
Comp Eng
MInfSci
MInfSci
Comp Eng
Comp Sci
MInfSci
Comp Sci
Comp Eng
Comp Sci
Comp Sci
MInfSci
MInfSci

STAGE
3
3
3
3
3
3
3
3
3
2
2
2
2
1
1
1
2
1
1
1

Table Department
DEPT#
1
2
3
4

DNAME
Artificial Intelligence
Computer Systems
Information Engineering
Software Engineering

Table Subject

ID
COMP1001
COMP1011
COMP1021
COMP2011
COMP2021
COMP2031
COMP3231

NAME
Introduction to Computing
Computing 1A
Computing 1B
Data Organisation
Digital Systems Structures
Concurrent Computing
Operating Systems
2

AGE
21
21
20
21
21
20
21
21
21
33
21
21
20
31
19
19
20
18
26
28

Prak. Basis Data Sem. Genap 2013

COMP3311
COMP3411
COMP4249
COMP9311
COMP9315

Database Systems
Artificial Intelligence
Computing 4
Database Systems
Database System Implementation

Table Class
SUBJECT
COMP1001
COMP1011
COMP1021
COMP2011
COMP2021
COMP2031
COMP3231
COMP3311
COMP3411
COMP4249
COMP9311
COMP9315

MEETSAT
Tuesday 2pm
Monday 11am
Tuesday 11am
Monday 2pm
Tuesday 11am
Friday 11am
Thursday 11am
Tuesday 2pm
Wednesday 11am
Thursday 4pm
Tuesday 6pm
Wednesday 3pm

ROOM
Elec Eng LG1
Mathews A
Mathews A
Elec Eng LG1
Elec Eng G25
Elec Eng G25
Elec Eng LG1
Webster B
Elec Eng G25
Elec Eng 408
Elec Eng LG1
Webster B

Table Enrolled
STUDENT#
2111111
2111111
2111111
2111222
2111222
2113567
2113567
2114213
2114213
2154321
2154321
2154321
2166612
2166612
2171234
2171234

SUBJECT#
COMP3231
COMP3311
COMP3411
COMP3231
COMP3311
COMP2031
COMP3411
COMP3231
COMP3411
COMP3231
COMP3311
COMP3411
COMP3231
COMP3311
COMP3231
COMP3311
3

TEACHER
951
961
931
962
922
922
911
932
912
911
971
921

Prak. Basis Data Sem. Genap 2013

2175777
2187654
2191929
2211111
2211222
2211222
2213567
2213567
2214213
2254321
2266612
2266612
2271234
2271234
2275777
2287654
2291929

COMP3311
COMP3231
COMP9315
COMP9315
COMP2021
COMP2031
COMP2011
COMP2021
COMP9311
COMP1011
COMP1011
COMP1021
COMP1021
COMP2011
COMP1001
COMP9311
COMP9311

Table Marks
STUDENT#
2111111
2111111
2111111
2111111
2111111
2111111
2111222
2111222
2111222
2111222
2111222
2113567
2113567
2113567
2113567
2113567
2114213
2114213
2114213
2114213
2114213

SUBJECT#
COMP1011
COMP1021
COMP2011
COMP2021
COMP2021
COMP2031
COMP1011
COMP1021
COMP2011
COMP2021
COMP2031
COMP1011
COMP1011
COMP1021
COMP2011
COMP2021
COMP1011
COMP1021
COMP2011
COMP2021
COMP2031
4

PERIOD
05s1
05s2
06s1
06s1
06s2
06s2
05s1
05s2
06s1
06s1
06s2
05s1
05s2
06s1
06s2
06s2
05s1
05s2
06s1
06s1
06s2

MARK
70
75
65
40
50
65
93
90
87
90
83
31
51
50
50
51
74
79
75
80
75

Prak. Basis Data Sem. Genap 2013

2154321
2154321
2154321
2154321
2154321
2166612
2166612
2166612
2166612
2166612
2171234
2171234
2171234
2171234
2171234
2171234
2175777
2175777
2175777
2175777
2175777
2175777
2175777
2187654
2187654
2187654
2187654
2187654
2191929
2211111
2211222
2211222
2213567
2213567
2271234
2271234
2271234
2291929

COMP1011
COMP1021
COMP2011
COMP2021
COMP2031
COMP1011
COMP1021
COMP2011
COMP2021
COMP2031
COMP1011
COMP1021
COMP2011
COMP2021
COMP2021
COMP2031
COMP1011
COMP1021
COMP2011
COMP2021
COMP2011
COMP2021
COMP2031
COMP1011
COMP1021
COMP2011
COMP2021
COMP2031
COMP9311
COMP9311
COMP1011
COMP1021
COMP1011
COMP1021
COMP1011
COMP1011
COMP1021
COMP9311

05s1
05s2
06s1
06s1
06s2
05s1
05s2
06s1
06s1
06s2
05s1
05s2
06s1
06s1
06s2
06s2
05s1
05s2
06s1
06s1
06s2
06s2
06s2
05s1
05s2
06s1
06s1
06s2
06s2
06s2
06s1
06s2
06s1
06s2
06s1
06s2
06s2
06s1

64
89
95
90
75
95
89
73
60
55
70
75
65
40
50
65
60
55
45
40
55
50
55
75
88
84
80
75
65
90
99
98
90
95
27
51
40
40

Das könnte Ihnen auch gefallen