Presentation TA Database

Embed Size (px)

Citation preview

  • 7/26/2019 Presentation TA Database

    1/14

    ADVANCED DATABASE SYSTE

    Group Assignment 2

    Disusun Oleh:

    ANDRIE MARVA !TRA "#$%#&'#2'&(

    ARIE) RAMAD*AN *E+DIAN "#$%#&'#'',(

    BENIG*IN +AMA*

    B!DI !TOMO A+ S!NARDI "#$%#&2$-$#(

    DINA ROBIANA SITOM!+ "#$%#&'2$$-(

    !.O D/I ARYANTO "#$%#&'202-(

  • 7/26/2019 Presentation TA Database

    2/14

    An ne1 online store hs 3een re4ogni5ing 6or online retil s7stehn8le their 4ustomer or8er 6rom ll o9er 4ities roun8 the 1onee8 7our e;pertise in or8er to setup their O+A ppli4tion tohigh le9el mngement to m plese 8es4ri3e n8 e;plin 7our e;pertise regr8ing 1

  • 7/26/2019 Presentation TA Database

    3/14

  • 7/26/2019 Presentation TA Database

    4/14

  • 7/26/2019 Presentation TA Database

    5/14

  • 7/26/2019 Presentation TA Database

    6/14

    Nb: 6or e;mple these reports onl7 print out - pro8u4ts "+ptop> Srinter n8 S4nner( 1hi4h prt o6 2 t7pe o6 pro8u4t "Computer n1here +ptop n8 Ser9er re Computer t7pe o6 pro8u4t> 1hile rins4nner re O?4e t7pe o6 pro8u4t Moreo9er> these reports re ontheir 4ustomer origin 6rom - 4ities su4h s . Bn8ung> Mn4+on8on> 1here . 1hile Mn

    +on8on re 6rom !nite8 @ing8om

  • 7/26/2019 Presentation TA Database

    7/14

    DATABASE DESDATA/ARE*O!SE /IT* STAR CO

  • 7/26/2019 Presentation TA Database

    8/14

    DATABASE DESIGN )OR DATA/AR/IT* SNO/)+A@ING CO

  • 7/26/2019 Presentation TA Database

    9/14

    O+TTS DATABASE DE

  • 7/26/2019 Presentation TA Database

    10/14

    + STATEMENT TO CREATE REORT N!# )ROM O+TTS DATA

  • 7/26/2019 Presentation TA Database

    11/14

    Dt3se oltpFreport#oltpFreport#sl

    Report oltpFreport# oltpFreport#Hr;ml

    oltpFreport#oltpFreport#p86

    uer7

    SE+ECT MONT*"sTrns4tionDte( AS Month> YEAR"sTrns4tionDte( AS Yer> pro8u4tNptro8u4tT7peNme> 4gCit7> 4gCountr7> s8untit7>

    s8Totl+ine

    )ROM Sles s +E)T .OIN Customer 4 ON 4CustomerID sCustomerID

    +E)T .OIN CustomerOrigin 4g ON 4gCustomerOriginID 4CustomerOriginID

    +E)T .OIN SlesDetil s8 ON s8SlesID sSlesID

    +E)T .OIN ro8u4t p ON pro8u4tID s8ro8u4tID

    +E)T .OIN ro8u4tT7pe pt ON ptro8u4tT7peID pro8u4tT7peID

    ORDER BY 4CustomerID

  • 7/26/2019 Presentation TA Database

    12/14

    S+ STATEMENT TO CREATE REORT N!MBERDATA/ARE*O!SE SNO/)+A@E SC*EMA DAT

    Dt3se sno1 ptro8u4tT7peNme> 4

    ORDER BY 4oCountr7Nme>ptro8u4tT7peNme

  • 7/26/2019 Presentation TA Database

    13/14

    S+ STATEMENT TO CREATE REORT2 )ROM DATA/ARE*O!SE STAR

    DA

    Dt3se strFreport2strFreport2sl

    Report strFreport2strFreport2Hr;ml

    strFreport2strFreport2p86

    uer7

    SE+ECT MONT*"6sTrns4tionDte( AS Month> YEAR"6sTrns4tionDte( AS Yepro8u4tT7pe>

    4gCountr7> S!M"6sAmount( AS Amount> S!M"6sTotlri4e( AS Totlri4e

    )ROM )4tSles 6s

    +E)T .OIN CustomerOrigin 4g ON 4gCustomerOriginID 6sCustomerOriginID

    +E)T .OIN ro8u4t p ON pro8u4tID 6sro8u4tID

    GRO! BY MONT*"6sTrns4tionDte(> YEAR"6sTrns4tionDte(> pro8u4tT7p

    ORDER BY 4gCountr7>pro8u4tT7pe

  • 7/26/2019 Presentation TA Database

    14/14

    TERIMA