Documente Academic
Documente Profesional
Documente Cultură
BD date
Studenti (Nume, adresa, Matricola, CNP, An, Sectie, Sex)
Un table (Relatie) = o multime tuple (randuri)
Note(Student, materie, professor, data, nota)
Studenti={(Ion, Str Principala, 1234, 111222333444, 2, CIG, M), (Ana, ),(Dan, )}
Nume
adresa
Matricola
CNP
An
Sectie
Sex
Ion
Str.
1234
11122233344 2
CIG
M
Principala
4
nr.12
Ana
Str scurta
2345
22233344455 2
MK
F
nr 1
5
Dan
Str. Mare
3456
11223344556 1
CIG
M
nr 4
6
Note = {(1234, Info, Pop, 12.12.2012, 9), (1234,,)(7777, )}
Student
materie
professor
data
nota
1234
Info
Pop
12.12.2012
9
1234
Mate
Iacob
10.3.2012
10
3456
Info
Pop
10.5.2012
8
7777
Info
Pop
10.5.2012
7
Leg cele 2 tabele produs cartezian.
Nume adresa
Matricola CNP
Ion
Ion
Str.
1234
Principala
nr.12
Str.
1234
Principala
11122233344
4
11122233344
4
An Sectie Se
x
2
CIG
M
nota
1234
Info
Pop
12.12.201
2
1234
Mate
Iacob
10.3.2012
10
CIG
nr.12
Ion
Str.
Principala
nr.12
Ion
Str.
Principala
nr.12
Ana
Str scurta
nr 1
Ana
Str scurta
nr 1
Ana
Str scurta
nr 1
Ana
Str scurta
nr 1
Dan
Str. Mare
nr 4
Dan
Str. Mare
nr 4
Dan
Str. Mare
nr 4
Dan
Str. Mare
nr 4
Rezultatul este :
Nume adresa
Ion
Ion
1234
11122233344
4
CIG
3456
Info
Pop
10.5.2012
1234
11122233344
4
CIG
7777
Info
Pop
10.5.2012
2345
22233344455
5
22233344455
5
22233344455
5
22233344455
5
11223344556
6
11223344556
6
11223344556
6
11223344556
6
MK
1234
Info
Pop
MK
1234
Mate
Iacob
12.12.201
2
10.3.2012
MK
3456
Info
Pop
10.5.2012
MK
7777
Info
Pop
10.5.2012
CIG
1234
Info
Pop
CIG
1234
Mate
Iacob
12.12.201
2
10.3.2012
CIG
3456
Info
Pop
10.5.2012
CIG
7777
Info
Pop
10.5.2012
2345
2345
2345
3456
3456
3456
3456
Matricola CNP
Str.
1234
Principala
nr.12
Str.
1234
Principala
nr.12
11122233344
4
11122233344
4
10
10
An Sectie Se
x
2
CIG
M
nota
1234
Info
Pop
12.12.201
2
1234
Mate
Iacob
10.3.2012
10
CIG
Dan
Str. Mare
nr 4
3456
11223344556
6
CIG
3456
Info
Pop
10.5.2012