Bases de Dados(SGBD)
07/01/13
Noo
de
tabela
Tabela:
Alunos
Campos
ou
atributos
:
informao
necessria
para
caraterizar
um
aluno.
07/01/13
Atributos
07/01/13
Tipos de dados
Domnios
TABELA
Atributos
07/01/13
Atributo chave
Atributo chave
07/01/13
Chave
Tabela
Computadores
Tipo
PortYl
PortYl
PortYl
Tablet
Tablet
PortYl
PortYl
PortYl
PortYl
Desktop
Desktop
Desktop
Marca
ASUS
ASUS
HP
COBY
APPLE
APPLE
ACER
TOSHIBA
DELL
HP
ACER
ASUS
Modelo
Zenbook
UX31A-R5008V
K55VM-SX045V
Pavilion
G6-2011SP
MID8042
3
Gerao
MacBook
Pro
V3-551G
Satellite
L855-10P
LaYtude
E5530
Pavilion
P6-2207EP
AX3995
CG8565-PTR0G02
Processador
Intel
Core
i7
Intel
Core
i7
Intel
Core
i5
Cortex
A8
A5X
Dual
Core
Intel
Core
i7
quad-core
AMD
Quad-Core
A8
Intel
Core
i7
Intel
Core
i7
Intel
Core
i5
Intel
Core
i5
Intel
Core
i7
Monitor
13.3"
HD
15.6"
15.6"
8"
LED
Touch
9,7"
LED
15,4"
LED
HD
15.6''
LED
HD
15,6"
15,6"
HD
NT
NT
NT
07/01/13
Atributo
chave.
Neste
caso
o
ideal
ser
acrescentar
um
novo
atributo
que
ser
a
chave.
CodPortaYl
PAS001
PAS002
PHP001
TCB001
TAP001
PAP001
PAC001
PTS001
PDL001
DHP001
DAC001
DAS001
Tipo
Marca
ASUS
ASUS
HP
COBY
APPLE
APPLE
ACER
TOSHIBA
DELL
HP
ACER
ASUS
PortYl
PortYl
PortYl
Tablet
Tablet
PortYl
PortYl
PortYl
PortYl
Desktop
Desktop
Desktop
Modelo
Zenbook
UX31A- R5008V
K55VM-SX045V
Pavilion
G6-2011SP
MID8042
3
Gerao
MacBook
Pro
V3-551G
Satellite
L855-10P
LaYtude
E5530
Pavilion
P6-2207EP
AX3995
CG8565-PTR0G02
Processador
Intel
Core
i7
Intel
Core
i7
Intel
Core
i5
Cortex
A8
A5X
Dual
Core
Intel
Core
i7
quad- core
AMD
Quad-Core
A8
Intel
Core
i7
Intel
Core
i7
Intel
Core
i5
Intel
Core
i5
Intel
Core
i7
Monitor
13.3"
HD
15.6"
15.6"
8"
LED
Touch
9,7"
LED
15,4"
LED
HD
15.6''
LED
HD
15,6"
15,6"
HD
NT
NT
NT
07/01/13
Chave COMPOSTA
Chave COMPOSTA
07/01/13
Exemplos