Training
Tables |
Columns |
Foreign Keys |
abteilung |
(
abtnr
,
abtname
,
budget
,
chefnr
)
|
chefnr » personal.persnr
|
akte |
(
persnr
,
datum
,
position
,
gehalt
)
|
persnr » personal.persnr
|
personal |
(
persnr
,
vname
,
nname
,
projnr
,
telefonnr
,
gehalt
)
|
projnr » projekt.projnr
|
projekt |
(
projnr
,
budget
,
abtnr
)
|
abtnr » abteilung.abtnr
|
DB: PostgreSQL
Explanation: TABLE, PRIMARY KEY, FOREIGN KEY
persnr |
projnr |
gehalt |
budget |
differenz |
1 |
4 |
1000.00 |
100 |
-900.00 |
1 |
5 |
1000.00 |
500 |
-500.00 |
2 |
4 |
200.00 |
100 |
-100.00 |
6 |
2 |
2000.00 |
1000 |
-1000.00 |
6 |
4 |
2000.00 |
100 |
-1900.00 |
6 |
5 |
2000.00 |
500 |
-1500.00 |
6 |
6 |
2000.00 |
1000 |
-1000.00 |
6 |
8 |
2000.00 |
1000 |
-1000.00 |
6 |
9 |
2000.00 |
1000 |
-1000.00 |
6 |
10 |
2000.00 |
1000 |
-1000.00 |
8 |
2 |
5000.00 |
1000 |
-4000.00 |
8 |
3 |
5000.00 |
2200 |
-2800.00 |
8 |
4 |
5000.00 |
100 |
-4900.00 |
8 |
5 |
5000.00 |
500 |
-4500.00 |
8 |
6 |
5000.00 |
1000 |
-4000.00 |
8 |
7 |
5000.00 |
3000 |
-2000.00 |
8 |
8 |
5000.00 |
1000 |
-4000.00 |
8 |
9 |
5000.00 |
1000 |
-4000.00 |
8 |
10 |
5000.00 |
1000 |
-4000.00 |
21 |
2 |
2000.00 |
1000 |
-1000.00 |
21 |
4 |
2000.00 |
100 |
-1900.00 |
21 |
5 |
2000.00 |
500 |
-1500.00 |
21 |
6 |
2000.00 |
1000 |
-1000.00 |
21 |
8 |
2000.00 |
1000 |
-1000.00 |
21 |
9 |
2000.00 |
1000 |
-1000.00 |
21 |
10 |
2000.00 |
1000 |
-1000.00 |
71 |
2 |
3000.00 |
1000 |
-2000.00 |
71 |
3 |
3000.00 |
2200 |
-800.00 |
71 |
4 |
3000.00 |
100 |
-2900.00 |
71 |
5 |
3000.00 |
500 |
-2500.00 |
71 |
6 |
3000.00 |
1000 |
-2000.00 |
71 |
8 |
3000.00 |
1000 |
-2000.00 |
71 |
9 |
3000.00 |
1000 |
-2000.00 |
71 |
10 |
3000.00 |
1000 |
-2000.00 |
72 |
4 |
1000.00 |
100 |
-900.00 |
72 |
5 |
1000.00 |
500 |
-500.00 |
73 |
2 |
2000.00 |
1000 |
-1000.00 |
73 |
4 |
2000.00 |
100 |
-1900.00 |
73 |
5 |
2000.00 |
500 |
-1500.00 |
73 |
6 |
2000.00 |
1000 |
-1000.00 |
73 |
8 |
2000.00 |
1000 |
-1000.00 |
73 |
9 |
2000.00 |
1000 |
-1000.00 |
73 |
10 |
2000.00 |
1000 |
-1000.00 |
81 |
2 |
1500.00 |
1000 |
-500.00 |
81 |
4 |
1500.00 |
100 |
-1400.00 |
81 |
5 |
1500.00 |
500 |
-1000.00 |
81 |
6 |
1500.00 |
1000 |
-500.00 |
81 |
8 |
1500.00 |
1000 |
-500.00 |
81 |
9 |
1500.00 |
1000 |
-500.00 |
81 |
10 |
1500.00 |
1000 |
-500.00 |
82 |
2 |
1500.00 |
1000 |
-500.00 |
82 |
4 |
1500.00 |
100 |
-1400.00 |
82 |
5 |
1500.00 |
500 |
-1000.00 |
82 |
6 |
1500.00 |
1000 |
-500.00 |
82 |
8 |
1500.00 |
1000 |
-500.00 |
82 |
9 |
1500.00 |
1000 |
-500.00 |
82 |
10 |
1500.00 |
1000 |
-500.00 |
83 |
2 |
2000.00 |
1000 |
-1000.00 |
83 |
4 |
2000.00 |
100 |
-1900.00 |
83 |
5 |
2000.00 |
500 |
-1500.00 |
83 |
6 |
2000.00 |
1000 |
-1000.00 |
83 |
8 |
2000.00 |
1000 |
-1000.00 |
83 |
9 |
2000.00 |
1000 |
-1000.00 |
83 |
10 |
2000.00 |
1000 |
-1000.00 |
84 |
2 |
2000.00 |
1000 |
-1000.00 |
84 |
4 |
2000.00 |
100 |
-1900.00 |
84 |
5 |
2000.00 |
500 |
-1500.00 |
84 |
6 |
2000.00 |
1000 |
-1000.00 |
84 |
8 |
2000.00 |
1000 |
-1000.00 |
84 |
9 |
2000.00 |
1000 |
-1000.00 |
84 |
10 |
2000.00 |
1000 |
-1000.00 |
90 |
2 |
2000.00 |
1000 |
-1000.00 |
90 |
4 |
2000.00 |
100 |
-1900.00 |
90 |
5 |
2000.00 |
500 |
-1500.00 |
90 |
6 |
2000.00 |
1000 |
-1000.00 |
90 |
8 |
2000.00 |
1000 |
-1000.00 |
90 |
9 |
2000.00 |
1000 |
-1000.00 |
90 |
10 |
2000.00 |
1000 |
-1000.00 |
91 |
2 |
2000.00 |
1000 |
-1000.00 |
91 |
4 |
2000.00 |
100 |
-1900.00 |
91 |
5 |
2000.00 |
500 |
-1500.00 |
91 |
6 |
2000.00 |
1000 |
-1000.00 |
91 |
8 |
2000.00 |
1000 |
-1000.00 |
91 |
9 |
2000.00 |
1000 |
-1000.00 |
91 |
10 |
2000.00 |
1000 |
-1000.00 |
93 |
2 |
2000.00 |
1000 |
-1000.00 |
93 |
4 |
2000.00 |
100 |
-1900.00 |
93 |
5 |
2000.00 |
500 |
-1500.00 |
93 |
6 |
2000.00 |
1000 |
-1000.00 |
93 |
8 |
2000.00 |
1000 |
-1000.00 |
93 |
9 |
2000.00 |
1000 |
-1000.00 |
93 |
10 |
2000.00 |
1000 |
-1000.00 |
94 |
1 |
7000.00 |
5000 |
-2000.00 |
94 |
2 |
7000.00 |
1000 |
-6000.00 |
94 |
3 |
7000.00 |
2200 |
-4800.00 |
94 |
4 |
7000.00 |
100 |
-6900.00 |
94 |
5 |
7000.00 |
500 |
-6500.00 |
94 |
6 |
7000.00 |
1000 |
-6000.00 |
94 |
7 |
7000.00 |
3000 |
-4000.00 |
94 |
8 |
7000.00 |
1000 |
-6000.00 |
94 |
9 |
7000.00 |
1000 |
-6000.00 |
94 |
10 |
7000.00 |
1000 |
-6000.00 |
94 |
23 |
7000.00 |
5500 |
-1500.00 |