Работа с базами данных Access 2002 Лабораторный практикум

  • View
    218

  • Download
    4

Embed Size (px)

Transcript

  • Fbgbkl_jkl\h h[jZah\ZgbyJhkkbckdhcN_^_jZpbb

    I_ga_gkdbc]hkm^Zjkl\_ggucmgb\_jkbl_l

    J:;HL: K ;:A:FB >:GGUO< KJ?>? 0,&5262)7$&&(66

    }}

    I_gaZ

  • izc

    c

    zkmm}}

    i}}}m}}}}}

    m}m{r}{l}m

    ccm0LFURVRIW $FFHVV }}v{ j} nk jm

    cm m m mvri$FFHVV mmm~mm }m }64/immm}}m

    }} m } jm m r}m }m jm

    iz

    jm}mm

  • {m

    { m }m ri vri $FFHVVmmm}0LFURVRIW2IILFH ;3mm} 3URIHVVLRQDO3URIHVVLRQDO ZLWK )URQW 3DJH3URIHVVLRQDO 6SHFLDO (GLWLRQ 'HYHORSHU > @im } }m m mm}mmm m} m

    { }} m mmmm}}mmmm }m }64/{m}}m m } m}9LVXDO %DVLF IRU $SSOLFDWLRQV 9%$} } m }mm > @

  • |m}m

    }mmmmvri$FFHVV

    v m m mm mm}mm}}mv }m}m>@m>@ m}64/ >@

    |m}

    m}

    (5

    }}mri

    |m m m}

    c} } m

    |mm}}m

    v

    v mz}

    v m}64/

    }mm

    }}ri

    vmz}

    vmm}}64/

    v

    |m}m

    |

    vm

  • |m}mm

    |m

    ~} v}m}m

    mm

    m m m z} lm }}}mmmmsmz}}}}m

    ~}m$FFHVV

    i $FFHVV}3HQWLXP l m l m 0LFURVRIW :LQGRZV l :LQGRZV 0( l :LQGRZV 3URIHVVLRQDO :LQGRZV ;3c}m }3HQWLXP ,9 ml m0LFURVRIW:LQGRZV ;3rvri$FFHVV m}mmm}}}z}}}}m

    { m mmz}m ~ }m}} m}mm

    |m m } m }m r m m

    n m} } }m n} m

  • mmv} m

    | m } m mmm

    l} m }} m}mm m}

    l m mm } mm}9%$|m } m m } }} $FFHVV

    v} m:HE j m 0LFURVRIW $FFHVV v } } m} }m 0LFURVRIW([FHO

    vm}}m}vri$FFHVV

    }:LQGRZV

    m }}}0LFURVRIW$FFHVV

    } PGE m$FFHVV m}mPGE

    vm}}mm$FFHVV }}$FFHVV}}}

    }} }m}{ n

    }m}~} }} }$FFHVV

    }}m $OW)

    } $FFHVV}m}}m}}m m mm } sm

  • } ~} } m } |}

    {m}sm PGEm} mm pm } ~}}}2. mm}}}}$FFHVV{ } m m } |} m m } } }}2.p}m}} m}|} } }m m }i }}2.

    p m m m } }$FFHVV m m }i } } m m vm } m}} { m} } } m} } } } m m nm}}v |} mrsm

    x k}mm } v n }}v

    x {m}v m m}}|}sm }}2.

    x {}nm }m}}} m

    x { j GEmm }}v

  • v

    }m

    {}m}mvri$FFHVV m m msj{pcvjpm

    m m } m }} }}}

    m mm mm}mm

    m}}

    m m}

    }} } m$FFHVVm }}}mrij}}m }m}}mmm (5}mm}ml }mm} m } m >@ } } (5

    s}}m mm ri c m mmm } }}m}} m m mm >@ }mm }}mm } p (5 m mm>@} ri m m ~m m m } mm

  • c(5

    m $FFHVV } m}m } m } m{m$FFHVV > @

    $FFHVV

    |

    }m }}m mmmmmc

    m mmm

    im mi {

    mm}m

    v} }m}mm}mmm

  • |

    } {}is }

    0(02

    {0(02 }m }mmmm}

    }2/(

    {}2/( m}}m l

    } {}}m }}}mj

    lm}

    vmm }}

    { } m }mmm } k m mmmm

    isj{pcvjp m }}}}m

    |vips

    j vmm |~} }m i}m

    m}b}}

    }m v}k|kwkw

    b

    n }m i}m

    n

    j }m i j|m }m i |m

    }m v}lyi

    im z}

    }m i

  • |ijvjjsk

    j vmm |z

    m }mm}

    sm }m i}m

    m

    }m i}m

    nm

    i } vips m } |} vp{kpl|vem >@ i vips m m } m m}m}vips

    |vp{kpl|ve

    j vmm |~} }m i}m

    m}b}}

    z

    m }mm}

    |} m m>@

    m}m {}vipsm}ijvjjsk m } }}}}vp{kpl|ve~mm} }m v }m 0LFURVRIW $FFHVV}m}m}m

  • }m}}mi}m }m}i }nvips m ijvjjsk}}mm

    v mz}

    } m$FFHVV}vri$FFHVV sj{pcvjp v }m m }

    {} }}vmmm } sm m z} }}|z

    { mm } z}

    mm

    cv}

  • mm}}m}}}mmm} m m l m} m } m vips}

    x m m}}m} m}m} m m m }m m} m } v}

    x m}}} m m}v}

    x m}j}} }k|kwkw

    k m vips}ly

    m}mm|} vp{kpl|ve >@ m m}mmmmimm m}mm mm mm }} i m%HWZHHQ$QG

    mm i vipsm

    im sj{pcvjp}mmm| iw}

    m }

    in vipssm m ijvjjsk m}mmmj}m i i}m

    m m}

    im m} }} }m

  • i m}m} m }zm m}p}m m}}} m m m}m&WUO m}}}

    im}mm}~} vips z ijvjjskivp{kpl|ve m} m~} z v m m}}} }}

    m}}}mmj}m ii}m

    v }

    m } }}mmimm}v npm$FFHVV mm}m}v{m mm m

    |}m }

    }mmm mmm}m }} } m }

    imm}mm }}} } mmm} mm }}mmm }v}m} {m}

    p } }} mm}}m } } m}

  • {m}m

    j}}m }}m m i mm m m m} }}|}pm } } z} m mmm }c { }m}} { mm}}m

    vm

    $FFHVV m m } m vm z} m mm }m mm }m m } vm } }m }mmm m$FFHVV m}m m m

    {m mvips vp{kpl|ve }ijvjjskvp{kpl|ve}im vm m }v mm }} m s}m}vm} m

    m m}v m } im m vm }}im m{mm}im mmmm}mm}vm}} }} {m}}}imm}v}im } ~ m} m{mm vips

  • vp{kpl|vemm}m~} mm ijvjjsk vp{kpl|ve }mz }mm}jmm} m vips vp{kpl|ve ~} i m }wm}m } m vips mmmm}}vp{kpl|ve v mmm}}}mm}}m m}mm | m} mm }} m mm mm

    x mmm }mmm mm

    x m m } m }m mmm

    x mm}m

    }}2. m}jm m }

    cvmm

  • i m m m}m m }} }m'HO }m}i } mm}}}} m } m

    vm}64/

    m

    { } }64/ mm$FFHVV }}m mmm m } -HW vri$FFHVVm m }64/ m 64/ 64/r }64/ }m$FFHVV m> @

    im } 64/ m mz}mm }rm}}~}}v m}sm m z} { z}} }im }}{ m}c64/ { m 64/z} mmm|} m6(/(&7}m}{|} ~mz} m}m} |} m m

    }} }m &WUO(QWHU~}m}j}}m} m}m}}s}}} m z} m }} ~} {

  • m { }}}|} m}}~ |}

    | m } z}64/ }}m64/ mz}m m } ~ j} mm } }}m}64/ }m64/s}m m z} mm64/ }}

    sm}}~ }r } }mmm}

    m

    j} m m m $FFHVVm

    &5($7(7$%/(lZ[ebpZ!ihe_!lbi!>jZaf_j!@>12718//@>h]jZgbq_gby gZ ihe_!@>ihe_!lbi!>jZaf_j!@>12718//@>h]jZgbq_gby gZ ihe_!@>@@>&21675$,17h]jZgbq_gby gZ lZ[ebpm!>@@

    ~ }{mmm}}}

    m k}m }} m p }}}mm_m }n}}}m

    {} &5($7(7$%/( lZ[ebpZ! m ihe_!ihe_! mmm lbi! m 7(;7Q}m Q mm,17(*(5 5($/ m m } )/2$7

  • m m } '$7(7,0( i{|jZaf_j! mm}m

    | } | 127 18//m |>h]jZgbq_gby gZ ihe_!@>h]jZgbq_gby gZ ihe_! &21675$,17}m}}| } }

    &21675$,17bg^_dk!^35,0$5g_imklh_Ihe_>@@_)25(,*1.(ihe_>@@5()(5(1&(6jh^bl_evkdZyLZ[ebpZ!>Ihe_>Ihe_B>@@@`

  • |mm}} m }} mz}m}mmm}m z} m mmmmm

    j}m }&5($7( ,1'(; } $/7(5 7$%/( j} '523 m m }

    '523^7$%/(lZ[ebpZ!_,1'(;bg^_dk!21lZ[ebpZ!` }

    }z}m } $/7(57$%/(

    ~

    m}}}mm }6(/(&7,172j}mm6(/(&7ihe_B!>ihe_B!>@@,172

    gh\ZyLZ[ebpZ!>,1\g_rgyy;ZaZ>Zgguo!@)520bklhqgbd!

    j} m gh\ZyLZ[ebpZ!p}m$FFHVV mm {m } ihe_B!ihe_B!vm }} m m}m}|\g_rgyy;ZaZ>Zgguo! } m bklhqgbd! } } w }}

    {m m} s m

  • |jsjzj mm}}

    6(/(&7NZfbeby=jmiiZ ,172Hlebqgbdb)520Klm^_gl ,11(5-2,1>bkpbiebgZ ,11(5-2,1

    Mki_\Z_fhklv 21>bkpbiebgZ>Dh^ ^bkpbiebgu@ Mki_\Z_fhklv>Dh^ ^bkpbiebgu@21Klm^_glAZq_ldZ Mki_\Z_fhklvAZq_ldZ

    :+(5(>bkpbiebgZGZa\Zgb_ FZl_fZlbdZ$1'Hp_gdZ mm

    m }} mm m}mm mz}

    ~m

    | m mm },16(57,172,16(57,172 lZ[ebpZ! _ h[t_^bg_gb_ lZ[ebp!>ihe_B!>ihe_B!>@@@9$/8(6agZq_gb_B!>agZq_gb_B!>@_bgkljmdpbyB\u[hjZ!

    j} mm m ihe_B! agZq_gb_B! p } mm m } m} mm 18// vm } } m mm m bgkljmdpbyB\u[hjZ!z}h[t_^bg_gb_ lZ[ebp!-2,1

    sm|jsjzj m }

    ,16(57 ,172 Hlebqgbdb NZfbeby=jmiiZ 6(/(&7NZfbeby=jmiiZ)520Klm^_gl ,11(5-2,1>bkpbiebgZ ,11(5-2,1

    Mki_\Z_fhklv 21 >bkpbiebgZ>Dh^ ^bkpbiebgu@

  • Mki_\Z_fhklv>Dh^ ^bkpbiebgu@21Klm^_glAZq_ldZ Mki_\Z_fhklvAZq_ldZ

    :+(5( >bkpbiebgZGZa\Zgb_ FZl_fZlbdZ$1' Hp_gdZ

    ~

    j}'(/(7( }} } }} m )520}mm :+(5('(/(7( >lZ[ebpZ!@)520lZ[ebpZ!_h[t_^bg_gb_BlZ[ebp!_aZijhkBgZB\u[hjdm !_,1 \g_rgyyB[ZaZ!>:+(5(mkeh\b_Hl[hjZ!@

    p:+(5( mm}}j} '(/(7( m }} m}pmm m mm }} m} } m mm pm mm }}

    }}m}pm)520m}m}'(/(7( } lZ[ebpZ!} }{ m m mm } } } p m )520} }',67,1&7 *5283 %< +$9,1* 81,21

    smm } m}mm

  • ~}

    m}}m m }83'$7(}1XOO

    ~m

    ~m }83'$7(83'$7(^^lZ[ebpZ!__aZijhkBgZB\u[hjdm !``_h[t_^bg_gb_BlZ[ebp!`>_,1 \g_rgyyB[ZaZ!@6(7 ^bfyBklhe[pZ! ^\ujZ`_gb_!_18//``>:+(5(mkeh\b_Hl[hjZ!@

    km}83'$7(}m m mm}{6(7}m ~mm m}} mm m m

    18// 127 18//|m mm m{m}m mpmmm m m mm}mm}mpm}mm} m

    ~}m

    ~

    j sj{pcvjp m}jz} m}64/

    m }

  • jz} }64/m

    zm

    z}m m}"

    m }m}m"

    z}mmm"

    z}} m$FFHVV"

    z} } "

    z} m}}}"

    z}m m mmmm}"

    z}}}"

    {mmmm}m"

    }m4%(m

    ~ mm } mm m m{$FFHVV 4%(4XHU\ %\ ([DPSOH } mm m } z} m 64/ 6WUXFWXUHG 4XHU\ /DQJXDJH }m}m}} } 64/ $FFHVV m } m

    4%(m64/

    i 4%(} m}}~ }}vs} m m }sm

  • mc }} mm

    }mm m} }} mvm m } vp{kpl|vemmmm

    { }sm ml mmmm}vm m}i m}{ vips n ijvjjsk sm vp{kpl|ve |}{mm} }} }i {}}imm}m m}m}mm} mm } } m mmm}m } }}}i

    m $FFHVVm m }} m c m m m m}m}m

    s}}mm m m m mm{ m}m} } vm} ~ } }}vm} m vm} m m~mim }m m}

  • ccm

    im m}m m mm m} m m }} }m}mm }}m

    z}m

    l mp } mmz} mcm}mmmmk|m}n}}im}sm m z} }}2.{m}z} m m}imm}} ~ smm m m}}mvips m} }} im k m

  • vp{kpl|ve ijvjjsk ~}m } }m }} ~} im m m } z} m m }im ~ m} m}im }

    |} z} m m {m m } } j} m}m}}}mm}} m mm{mm}}}{m m mm}z} mm

    s mz} m m }m}mmi }}m mm

    x mm

    x m}}m

    x m}

    im m}}m } mm }z} m } } pm m}

    mm} n vips jijvjjsk m} sm } |} vp{kpl|ve

    i} }}m} }m'HO m } m} mmz} mmm} }m'HO mm } m}m}

  • m}

    m}mm }m}}m m m } z }m }}

    n m

    k| m n}} m m }m } }}

    k|

    sm n}

    |} 2U

    vmm} k|mm}m(QWHU mm $FFHVV m } k|kwkwm}}m}m}~m}}m sm mmn}m}m}}m}s}}|}2U$FFHVV m}m}mmm}

    m mmm}mmmlmm m} }} i m m} m } } m m} } m} m }vm} m} }m } mm}}}z} m$FFHVV }vm} mm }

    { m