Professional Documents
Culture Documents
par tm
15. Po pu lat e the tab le De
tab le ins tan ce cha rt.
Cr eat e the tab le Em plo yee based on the fol low ing
16.
De pt_ lD
Las t Na me
Firs t Na me
Column Name ID
NU MB ER
VA RC HA R
VA RC HA R
Da ta Type NUMBER
8
25
8 25
Length
d De par tm ent .
17. Dr op table Em plo yee an art .
pe r following Table Ins tan ce Ot
18. Cr eat e tab le Cu sto me r as
cod e Cu st_ Pho ne
Cu st Address1 Cu st_ Ad dre ss2 Pin
Cu st Na me
Column Name Cu st_ lD
VA RC HA R NU MB ER VA RC HA R
VA RC HA R VA RC HA R
Da laty pe NU MB ER
6 10
20 30
7 30
Length
me r.
of da ta typ e VA RO iA R and size 30 to the tab le Cu sto
19. Ad d on e col um n Em ail AR.(10).
re col um n Cu sto me rln com eG rou p of dat aty pe VARCH
20. Ad d on e mo
nt information, in the table.
21. Ins ert few rec ord s wi th rel eva me r.
com eG rou p from table Cu sto
22. Dr op the col um n Cu sto me rln Cliart.
pe r following Table Instance
23. Cr eat e tab le De par tm ent as
DepUD De ptN am e
Cotumn Na me
NO T NU LL
Nulls/Unique
NU MB ER VA RC HA R
Datatype
2 20
Length
Cb art .
pe r following Table Ins tan ce
24. Cre ate table Employee as
Em pAd dre ss Em pP hon e Em pS al DepUD
Em plD Em pN am e
Column Na me
Foreign
Key Typ e Prim ary
NO T NU LL
NuUs/Unique
Department
Fk Tab le
De pt ID
Fk Column
Datatype NU MB ER VA RC HA R VA RC HA R VA RC HA R NU MB ER VA RC HA R
- -
6 20 30 10 9,2 2
Length