SlideShare a Scribd company logo
1 of 10
Download to read offline
Chapter 5 Database Design                                                                                                          1



                                                                              F
                                                               (Database Design)

 F         F
               F                  F              F                              F                F F
      01                                0005              F                F        2000         219.63    Yes               409
                                        0100                  F                                  219.63    Yes               155
      02           CD-ROM               0125             SALES MANAGER FACTOMATIC                700.93    No                169
                                        0051             SECRETS OF STARGATE                   1,842.99    No                197
                                        0010             US ATLAS                                540.19    No                159
      03           Hardware             0007             VIDEO CONFERENCING CARD-                369.16    Yes               205
                                                         FLY VIDEO OF SOUND
                                        0008                 F F        Panasonic Model         260.00     Yes               177
                                                         VHS F NV-VX3
      04           Multimedia           0023             JAPANESE 1, LIYC                       278.00         No            326
                                        0055             JAPANESE 2, LIYC                       278.00         No            159

 F
                              F                      F            F    F               F   F               F         (%)
     10258             015            21/10/xx                28/10/xx         0005                8                25.00%
                                                                               0100                8                 0.00%
                                                                               0125               15                 0.00%
     10265             181            21/10/xx                27/10/xx         0005               31                 0.00%
                                                                               0010               15                 0.00%
     10278             015            24/10/xx                3/11/xx          0007               16                 0.00%
                                                                               0008               31                25.00%
                                                                               0023                4                 0.00%




                                                                                                          Mr.Warawut Khangkhan
Chapter 5 Database Design                                                                                               2



 F             F
           F                    F                           F       F                             F                 F
     003           P&S STORE           1                         F 159     21 (   )       10300       250-0750
                                                .
     015           Happy Shop                       29 .        F F                       10110       240-2865-75

     181           The Book Shop    Asia Hotel 296 .                                      10330       267-8850-5
     213           P S Line         2675 F 9         F . 95                           .   10330       253-0123
     008           The Bookseller   428 Rama I Road, Siam Square Bangkok                  10500       233-1717




                                                                                              Mr.Warawut Khangkhan
Chapter 5 Database Design                                                                                                                                                           3



         F 1 (First Normal Form)
                      F                 F           F             F           F       F                                     F   F            F   1    F F               F   F
                                    F           F

                                            F (Products)                                  F           F F               F               F                   F       F           F
     F                        F                F       F      F           F                       F     F        (PK)               F            F              F

 F                F               F 1
                          F                             F             F                                     F                             F F
         01                                                 0005                  F           F                 2000                      219.63      Yes                   409
                                                            0100                   F                                                      219.63      Yes                   155
         02                        CD-ROM                   0125              SALES MANAGER FACTOMATIC                                    700.93      No                    169
                                                            0051              SECRETS OF STARGATE                                       1,842.99      No                    197
                                                            0010              US ATLAS                                                    540.19      No                    159
         03                        Hardware                 0007              VIDEO CONFERENCING CARD-                                    369.16      Yes                   205
                                                                              FLY VIDEO OF SOUND
                                                            0008                  F F        Panasonic Model                                260.00    Yes                   177
                                                                              VHS F NV-VX3
         04                        Multimedia               0023              JAPANESE 1, LIYC                                              278.00     No                   326
                                                            0055              JAPANESE 2, LIYC                                              278.00     No                   159

              F               F 1
                          F                             F             F                                     F                             F F
         01                                                 0005                  F           F                 2000                      219.63      Yes                   409
         01                                                 0100                   F                                                      219.63      Yes                   155
         02                        CD-ROM                   0125              SALES MANAGER FACTOMATIC                                    700.93      No                    169
         02                        CD-ROM                   0051              SECRETS OF STARGATE                                       1,842.99      No                    197
         02                        CD-ROM                   0010              US ATLAS                                                    540.19      No                    159
         03                        Hardware                 0007              VIDEO CONFERENCING CARD-                                    369.16      Yes                   205
                                                                              FLY VIDEO OF SOUND
         03                        Hardware                 0008                  F F        Panasonic Model                                260.00    Yes                   177
                                                                              VHS F NV-VX3
         04                        Multimedia               0023              JAPANESE 1, LIYC                                              278.00     No                   326
         04                        Multimedia               0055              JAPANESE 2, LIYC                                              278.00     No                   159




                                                                                                                                                     Mr.Warawut Khangkhan
Chapter 5 Database Design                                                                                                                                          4



                                           (Orders)                                            F       F F        F                               F            F
         F                   F           F       F           F                F            F       F                      F   F       (PK)             F
                     F                      F                        F                 F                              F                  F                 F
     F                   F           F

 F               F           F 1
                                            F                    F           F    F                           F                   F           F        (%)
     10258                           015          21/10/xx               28/10/xx                      0005                            8              25.00%
                                                                                                       0100                            8               0.00%
                                                                                                       0125                           15               0.00%
     10265                           181          21/10/xx               27/10/xx                      0005                           31               0.00%
                                                                                                       0010                           15               0.00%
     10278                           015          24/10/xx                   3/11/xx                   0007                           16               0.00%
                                                                                                       0008                           31              25.00%
                                                                                                       0023                            4               0.00%

             F               F 1
                                            F                    F           F    F                           F                   F           F        (%)
     10258                           015          21/10/xx               28/10/xx                      0005                            8              25.00%
     10258                           015          21/10/xx               28/10/xx                      0100                            8               0.00%
     10258                           015          21/10/xx               28/10/xx                      0125                           15               0.00%
     10265                           181          21/10/xx               27/10/xx                      0005                           31               0.00%
     10265                           181          21/10/xx               27/10/xx                      0010                           15               0.00%
     10278                           015          24/10/xx                3/11/xx                      0007                           16               0.00%
     10278                           015          24/10/xx                3/11/xx                      0008                           31              25.00%
     10278                           015          24/10/xx                3/11/xx                      0023                            4               0.00%

                                   F (Customer) F       F                F                 F F




                                                                                                                                             Mr.Warawut Khangkhan
Chapter 5 Database Design                                                                                                                                                                                                                                                                                      5



             F 2 (Second Normal Form)
                                  F                   F               2             F               F                    F     F F F                 (                                        F Non-key Attribute)                                           F                        F                                F
                  F                       F                                                 F

                                                          F                    F                F           2                          F                                      F                                         F           (PK)                                 F                    F
         F                            F

                                          F (Products)                                                          F (Customers)                             F                               F         2                           F                                    F                    F
             F (Products)                          F                                                         F (Customers)                     F                                      F                     F                               F
                                              (Orders)                                                      FF       F 2                                      F                                 F                                       F                                             F
     F                        F                      F (                                                                                   F                      F                                 Composite Key)                                       F                   F       2            F                F
              2
                          •                                   1                                                     (Orders)                                                      F                     F                                                        F                   (PK)
                                              F                            F                                F                      F                                      F                         F                                            F                                                    FF
                                              F                                                                 F        F
                          •                                   2                                                         (OrdersDetails)                                                                             F               F                                                                      F
                                                  F                       (PK)                                                F                                                                                             F                                                    F
                                                              F                         F

 F                    F   F 2
                                                                  F                                     F                 F    F                                      F                                         F                                    F                (%)
             10258                            015                                  21/10/xx                           28/10/xx                     0005                                                                      8                                       25.00%
             10258                            015                                  21/10/xx                           28/10/xx                     0100                                                                      8                                        0.00%
             10258                            015                                  21/10/xx                           28/10/xx                     0125                                                                     15                                        0.00%
             10265                            181                                  21/10/xx                           27/10/xx                     0005                                                                     31                                        0.00%
             10265                            181                                  21/10/xx                           27/10/xx                     0010                                                                     15                                        0.00%
             10278                            015                                  24/10/xx                            3/11/xx                     0007                                                                     16                                        0.00%
             10278                            015                                  24/10/xx                            3/11/xx                     0008                                                                     31                                       25.00%
             10278                            015                                  24/10/xx                            3/11/xx                     0023                                                                      4                                        0.00%




                                                                                                                                                                                                                                                Mr.Warawut Khangkhan
Chapter 5 Database Design                                                                            6



          F      F 2
                  (Orders)
                              F                 F       F    F
     10258              015          21/10/xx       28/10/xx
     10258              015          21/10/xx       28/10/xx
     10258              015          21/10/xx       28/10/xx
     10265              181          21/10/xx       27/10/xx
     10265              181          21/10/xx       27/10/xx
     10278              015          24/10/xx        3/11/xx
     10278              015          24/10/xx        3/11/xx
     10278              015          24/10/xx        3/11/xx
                      (OrderDetails)
                              F               F               F     (%)
     10258              0005                         8             25.00%
     10258              0100                         8              0.00%
     10258              0125                        15              0.00%
     10265              0005                        31              0.00%
     10265              0010                        15              0.00%
     10278              0007                        16              0.00%
     10278              0008                        31             25.00%
     10278              0023                         4              0.00%

                         F        F         2                 One-to-Many   (Orders)
(OrderDetails)                        F 1             F   F




                                                                                  Mr.Warawut Khangkhan
Chapter 5 Database Design                                                                                                                                                                                            7



     F 3 (Third Normal Form)
                                   F        F       3       F         F                        F                                           F           F F F                      F F F                F
                    F                           F       F        3 F                                   F           F                                                    F            F                           F
        F                   F           F

                  F (Products)                                                FF           F       3                   F               F                        F                      F       F F F           (PK)
      F F F (Candidate Key)                                                                                                 F F2
             •           1                                                            F (Categories)                                           F         F                       F (            F
                     )
                     F                                            F                     F                                  F F
             •            2                                                        F (Products)                                    F               F                         F             F               F
                    F (PK)                                                     F

 F              F               F 3
                        F                           F                     F                                    F                                               F F
      01                                                        0005                   F                   F       2000                                        219.63            Yes                           409
      01                                                        0100                      F                                                                    219.63            Yes                           155
      02                           CD-ROM                       0125                 SALES MANAGER FACTOMATIC                                                  700.93            No                            169
      02                           CD-ROM                       0051                 SECRETS OF STARGATE                                                     1,842.99            No                            197
      02                           CD-ROM                       0010                 US ATLAS                                                                  540.19            No                            159
      03                           Hardware                     0007                 VIDEO CONFERENCING CARD-                                                  369.16            Yes                           205
                                                                                     FLY VIDEO OF SOUND
      03                           Hardware                     0008                     F F        Panasonic Model                                           260.00             Yes                           177
                                                                                     VHS F NV-VX3
      04                           Multimedia                   0023                 JAPANESE 1, LIYC                                                         278.00             No                            326
      04                           Multimedia                   0055                 JAPANESE 2, LIYC                                                         278.00             No                            159

            F                   F 3
                                 F (Categories)
                        F                           F
      01
      02                           CD-ROM
      03                           Hardware
      04                           Multimedia




                                                                                                                                                                            Mr.Warawut Khangkhan
Chapter 5 Database Design                                                                                                                        8



           F (Products)
               F          F                                                     F                         F F
      01             0005                    F                F          2000                             219.63        Yes            409
      01             0100                     F                                                           219.63        Yes            155
      02             0125                SALES MANAGER FACTOMATIC                                         700.93        No             169
      02             0051                SECRETS OF STARGATE                                            1,842.99        No             197
      02             0010                US ATLAS                                                         540.19        No             159
      03             0007                VIDEO CONFERENCING CARD-FLY VIDEO OF                             369.16        Yes            205
                                         SOUND
      03                   0008              F F        Panasonic Model VHS F NV-                          260.00       Yes            177
                                         VX3
      04                   0023          JAPANESE 1, LIYC                                                  278.00       No             326
      04                   0055          JAPANESE 2, LIYC                                                  278.00       No             159

                            F        F                2                  One-to-Many                  F (Categories)               F (Products)
                     F 1                          F       F          F

                                 (Orders),                        (OrderDetails)           F (Customers)            3                    F
                 F              (PK)             F F                  F

                 Normalization F 3                                  F BCNF (Boyce/Codd Normal Form)            F 3            F              F




                                                                                                                        Mr.Warawut Khangkhan
Chapter 5 Database Design                                                                                                                                                                    9



     F 4 (Fourth Normal Form)
                          F               F               4       F    F                F                   F (Multivalued Dependency)                                        F       Many-to-
Many                                              F                                           FB        F       FA           F                                         F                FC
              F               F                   F 4 F                                       F               F      F     F     F
                      F           F                                            FF                         F      F 4
                  F                   F       F               4            F                Multivalued            F

          F
                                                                                                               F
       2001                                                                                                 1001
                                                                                                            1002                                   F
                                                                                                                                           F
       2002                                                                                                 1003
                                                                                                                                               F
       2003                                                                                                 1004
                                                                                                            1005                                   F

                          First Normal Form F
                                                                                                               F
       2001                                                                                                 1001
       2001                                                                                                 1001                                   F
       2001                                                                                                 1001                           F
       2001                                                                                                 1002
       2001                                                                                                 1002                                   F
       2001                                                                                                 1002                           F
       2002                                                                                                 1003
       2002                                                                                                 1003                               F
       2003                                                                                                 1004
       2003                                                                                                 1005                                   F

                                                      F                             F           F   3              F                   F               F              F F F           (PK)
  F F F (Candidate Key) F F F                                         F 4                                   F              F       F                             F                2      F
         3                  F                                                                           F              F       F                           F         4NF          F F        F
               2       F




                                                                                                                                                               Mr.Warawut Khangkhan
Chapter 5 Database Design                                                                                           10



        F        F            F 4
                                                                        F
      2001                                                           1001
      2001                                                           1002
      2002                                                           1003
      2003                                                           1004
      2003                                                           1005



      2001
      2001                                                                F
      2001                                                       F
      2002
      2002                                                            F
      2003
      2003                                                                F

                          F         Normalization        F       F 3                  F   F           F   F   F 4

E-R Diagram




                      F                Datanamic F                            F   F               F            F
Foreign Key (FK)                F     Primary Key (PK)       F                                                           F
             F       Primary Key (PK)



                                                                                              Mr.Warawut Khangkhan

More Related Content

Similar to เอกสารประกอบการบรรยาย

Database design
Database designDatabase design
Database designWarawut
 
2553 4-indexof sciencethailand
2553 4-indexof sciencethailand2553 4-indexof sciencethailand
2553 4-indexof sciencethailandps-most
 
16206brasil
16206brasil16206brasil
16206brasillort71
 
Quit Rent and Assessment Tax : Case study on Johore Bharu, Malaysia by Dr. Ch...
Quit Rent and Assessment Tax : Case study on Johore Bharu, Malaysia by Dr. Ch...Quit Rent and Assessment Tax : Case study on Johore Bharu, Malaysia by Dr. Ch...
Quit Rent and Assessment Tax : Case study on Johore Bharu, Malaysia by Dr. Ch...chariyada
 

Similar to เอกสารประกอบการบรรยาย (8)

Database design
Database designDatabase design
Database design
 
Thailand Ict Mkt 2007 Thai
Thailand Ict Mkt 2007 ThaiThailand Ict Mkt 2007 Thai
Thailand Ict Mkt 2007 Thai
 
Thailand-ict-market-2011-and-outlook-2012
Thailand-ict-market-2011-and-outlook-2012Thailand-ict-market-2011-and-outlook-2012
Thailand-ict-market-2011-and-outlook-2012
 
ICT Computer Market 2008 V2
ICT Computer Market 2008 V2ICT Computer Market 2008 V2
ICT Computer Market 2008 V2
 
2553 4-indexof sciencethailand
2553 4-indexof sciencethailand2553 4-indexof sciencethailand
2553 4-indexof sciencethailand
 
16206brasil
16206brasil16206brasil
16206brasil
 
Morning call
Morning callMorning call
Morning call
 
Quit Rent and Assessment Tax : Case study on Johore Bharu, Malaysia by Dr. Ch...
Quit Rent and Assessment Tax : Case study on Johore Bharu, Malaysia by Dr. Ch...Quit Rent and Assessment Tax : Case study on Johore Bharu, Malaysia by Dr. Ch...
Quit Rent and Assessment Tax : Case study on Johore Bharu, Malaysia by Dr. Ch...
 

More from Warawut

Business Computer Project 4
Business Computer Project 4Business Computer Project 4
Business Computer Project 4Warawut
 
Object-Oriented Programming 10
Object-Oriented Programming 10Object-Oriented Programming 10
Object-Oriented Programming 10Warawut
 
Object-Oriented Programming 9
Object-Oriented Programming 9Object-Oriented Programming 9
Object-Oriented Programming 9Warawut
 
Object-Oriented Programming 8
Object-Oriented Programming 8Object-Oriented Programming 8
Object-Oriented Programming 8Warawut
 
Object-Oriented Programming 7
Object-Oriented Programming 7Object-Oriented Programming 7
Object-Oriented Programming 7Warawut
 
Object-Oriented Programming 6
Object-Oriented Programming 6Object-Oriented Programming 6
Object-Oriented Programming 6Warawut
 
Management Information System 6
Management Information System 6Management Information System 6
Management Information System 6Warawut
 
Management Information System 5
Management Information System 5Management Information System 5
Management Information System 5Warawut
 
Management Information System 4
Management Information System 4Management Information System 4
Management Information System 4Warawut
 
Object-Oriented Programming 5
Object-Oriented Programming 5Object-Oriented Programming 5
Object-Oriented Programming 5Warawut
 
Business Computer Project 3
Business Computer Project 3Business Computer Project 3
Business Computer Project 3Warawut
 
Management Information System 3
Management Information System 3Management Information System 3
Management Information System 3Warawut
 
Business Computer Project 2
Business Computer Project 2Business Computer Project 2
Business Computer Project 2Warawut
 
Object-Oriented Programming 4
Object-Oriented Programming 4Object-Oriented Programming 4
Object-Oriented Programming 4Warawut
 
Business Computer Project 1
Business Computer Project 1Business Computer Project 1
Business Computer Project 1Warawut
 
Chapter 1 Organization & MIS
Chapter 1 Organization & MISChapter 1 Organization & MIS
Chapter 1 Organization & MISWarawut
 
Object-Oriented Programming 3
Object-Oriented Programming 3Object-Oriented Programming 3
Object-Oriented Programming 3Warawut
 
Object-Oriented Programming 2
Object-Oriented Programming 2Object-Oriented Programming 2
Object-Oriented Programming 2Warawut
 
Object-Oriented Programming 1
Object-Oriented Programming 1Object-Oriented Programming 1
Object-Oriented Programming 1Warawut
 
Upload File
Upload FileUpload File
Upload FileWarawut
 

More from Warawut (20)

Business Computer Project 4
Business Computer Project 4Business Computer Project 4
Business Computer Project 4
 
Object-Oriented Programming 10
Object-Oriented Programming 10Object-Oriented Programming 10
Object-Oriented Programming 10
 
Object-Oriented Programming 9
Object-Oriented Programming 9Object-Oriented Programming 9
Object-Oriented Programming 9
 
Object-Oriented Programming 8
Object-Oriented Programming 8Object-Oriented Programming 8
Object-Oriented Programming 8
 
Object-Oriented Programming 7
Object-Oriented Programming 7Object-Oriented Programming 7
Object-Oriented Programming 7
 
Object-Oriented Programming 6
Object-Oriented Programming 6Object-Oriented Programming 6
Object-Oriented Programming 6
 
Management Information System 6
Management Information System 6Management Information System 6
Management Information System 6
 
Management Information System 5
Management Information System 5Management Information System 5
Management Information System 5
 
Management Information System 4
Management Information System 4Management Information System 4
Management Information System 4
 
Object-Oriented Programming 5
Object-Oriented Programming 5Object-Oriented Programming 5
Object-Oriented Programming 5
 
Business Computer Project 3
Business Computer Project 3Business Computer Project 3
Business Computer Project 3
 
Management Information System 3
Management Information System 3Management Information System 3
Management Information System 3
 
Business Computer Project 2
Business Computer Project 2Business Computer Project 2
Business Computer Project 2
 
Object-Oriented Programming 4
Object-Oriented Programming 4Object-Oriented Programming 4
Object-Oriented Programming 4
 
Business Computer Project 1
Business Computer Project 1Business Computer Project 1
Business Computer Project 1
 
Chapter 1 Organization & MIS
Chapter 1 Organization & MISChapter 1 Organization & MIS
Chapter 1 Organization & MIS
 
Object-Oriented Programming 3
Object-Oriented Programming 3Object-Oriented Programming 3
Object-Oriented Programming 3
 
Object-Oriented Programming 2
Object-Oriented Programming 2Object-Oriented Programming 2
Object-Oriented Programming 2
 
Object-Oriented Programming 1
Object-Oriented Programming 1Object-Oriented Programming 1
Object-Oriented Programming 1
 
Upload File
Upload FileUpload File
Upload File
 

Recently uploaded

How to Customise Quotation's Appearance Using PDF Quote Builder in Odoo 17
How to Customise Quotation's Appearance Using PDF Quote Builder in Odoo 17How to Customise Quotation's Appearance Using PDF Quote Builder in Odoo 17
How to Customise Quotation's Appearance Using PDF Quote Builder in Odoo 17Celine George
 
Dhavni Theory by Anandvardhana Indian Poetics
Dhavni Theory by Anandvardhana Indian PoeticsDhavni Theory by Anandvardhana Indian Poetics
Dhavni Theory by Anandvardhana Indian PoeticsDhatriParmar
 
Riti theory by Vamana Indian poetics.pptx
Riti theory by Vamana Indian poetics.pptxRiti theory by Vamana Indian poetics.pptx
Riti theory by Vamana Indian poetics.pptxDhatriParmar
 
Metabolism , Metabolic Fate& disorders of cholesterol.pptx
Metabolism , Metabolic Fate& disorders of cholesterol.pptxMetabolism , Metabolic Fate& disorders of cholesterol.pptx
Metabolism , Metabolic Fate& disorders of cholesterol.pptxDr. Santhosh Kumar. N
 
25 CHUYÊN ĐỀ ÔN THI TỐT NGHIỆP THPT 2023 – BÀI TẬP PHÁT TRIỂN TỪ ĐỀ MINH HỌA...
25 CHUYÊN ĐỀ ÔN THI TỐT NGHIỆP THPT 2023 – BÀI TẬP PHÁT TRIỂN TỪ ĐỀ MINH HỌA...25 CHUYÊN ĐỀ ÔN THI TỐT NGHIỆP THPT 2023 – BÀI TẬP PHÁT TRIỂN TỪ ĐỀ MINH HỌA...
25 CHUYÊN ĐỀ ÔN THI TỐT NGHIỆP THPT 2023 – BÀI TẬP PHÁT TRIỂN TỪ ĐỀ MINH HỌA...Nguyen Thanh Tu Collection
 
3.14.24 The Selma March and the Voting Rights Act.pptx
3.14.24 The Selma March and the Voting Rights Act.pptx3.14.24 The Selma March and the Voting Rights Act.pptx
3.14.24 The Selma March and the Voting Rights Act.pptxmary850239
 
Plant Tissue culture., Plasticity, Totipotency, pptx
Plant Tissue culture., Plasticity, Totipotency, pptxPlant Tissue culture., Plasticity, Totipotency, pptx
Plant Tissue culture., Plasticity, Totipotency, pptxHimansu10
 
POST ENCEPHALITIS case study Jitendra bhargav
POST ENCEPHALITIS case study  Jitendra bhargavPOST ENCEPHALITIS case study  Jitendra bhargav
POST ENCEPHALITIS case study Jitendra bhargavJitendra Bhargav
 
LEAD5623 The Economics of Community Coll
LEAD5623 The Economics of Community CollLEAD5623 The Economics of Community Coll
LEAD5623 The Economics of Community CollDr. Bruce A. Johnson
 
30-de-thi-vao-lop-10-mon-tieng-anh-co-dap-an.doc
30-de-thi-vao-lop-10-mon-tieng-anh-co-dap-an.doc30-de-thi-vao-lop-10-mon-tieng-anh-co-dap-an.doc
30-de-thi-vao-lop-10-mon-tieng-anh-co-dap-an.docdieu18
 
DLL Catch Up Friday March 22.docx CATCH UP FRIDAYS
DLL Catch Up Friday March 22.docx CATCH UP FRIDAYSDLL Catch Up Friday March 22.docx CATCH UP FRIDAYS
DLL Catch Up Friday March 22.docx CATCH UP FRIDAYSTeacherNicaPrintable
 
3.12.24 Freedom Summer in Mississippi.pptx
3.12.24 Freedom Summer in Mississippi.pptx3.12.24 Freedom Summer in Mississippi.pptx
3.12.24 Freedom Summer in Mississippi.pptxmary850239
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - HK2 (...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - HK2 (...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - HK2 (...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - HK2 (...Nguyen Thanh Tu Collection
 
BBA 205 BUSINESS ENVIRONMENT UNIT I.pptx
BBA 205 BUSINESS ENVIRONMENT UNIT I.pptxBBA 205 BUSINESS ENVIRONMENT UNIT I.pptx
BBA 205 BUSINESS ENVIRONMENT UNIT I.pptxProf. Kanchan Kumari
 
LEAD6001 - Introduction to Advanced Stud
LEAD6001 - Introduction to Advanced StudLEAD6001 - Introduction to Advanced Stud
LEAD6001 - Introduction to Advanced StudDr. Bruce A. Johnson
 
The OERs: Transforming Education for Sustainable Future by Dr. Sarita Anand
The OERs: Transforming Education for Sustainable Future by Dr. Sarita AnandThe OERs: Transforming Education for Sustainable Future by Dr. Sarita Anand
The OERs: Transforming Education for Sustainable Future by Dr. Sarita AnandDr. Sarita Anand
 
LEAD6001 - Introduction to Advanced Stud
LEAD6001 - Introduction to Advanced StudLEAD6001 - Introduction to Advanced Stud
LEAD6001 - Introduction to Advanced StudDr. Bruce A. Johnson
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...Nguyen Thanh Tu Collection
 

Recently uploaded (20)

ANOVA Parametric test: Biostatics and Research Methodology
ANOVA Parametric test: Biostatics and Research MethodologyANOVA Parametric test: Biostatics and Research Methodology
ANOVA Parametric test: Biostatics and Research Methodology
 
How to Customise Quotation's Appearance Using PDF Quote Builder in Odoo 17
How to Customise Quotation's Appearance Using PDF Quote Builder in Odoo 17How to Customise Quotation's Appearance Using PDF Quote Builder in Odoo 17
How to Customise Quotation's Appearance Using PDF Quote Builder in Odoo 17
 
Dhavni Theory by Anandvardhana Indian Poetics
Dhavni Theory by Anandvardhana Indian PoeticsDhavni Theory by Anandvardhana Indian Poetics
Dhavni Theory by Anandvardhana Indian Poetics
 
Riti theory by Vamana Indian poetics.pptx
Riti theory by Vamana Indian poetics.pptxRiti theory by Vamana Indian poetics.pptx
Riti theory by Vamana Indian poetics.pptx
 
Least Significance Difference:Biostatics and Research Methodology
Least Significance Difference:Biostatics and Research MethodologyLeast Significance Difference:Biostatics and Research Methodology
Least Significance Difference:Biostatics and Research Methodology
 
Metabolism , Metabolic Fate& disorders of cholesterol.pptx
Metabolism , Metabolic Fate& disorders of cholesterol.pptxMetabolism , Metabolic Fate& disorders of cholesterol.pptx
Metabolism , Metabolic Fate& disorders of cholesterol.pptx
 
25 CHUYÊN ĐỀ ÔN THI TỐT NGHIỆP THPT 2023 – BÀI TẬP PHÁT TRIỂN TỪ ĐỀ MINH HỌA...
25 CHUYÊN ĐỀ ÔN THI TỐT NGHIỆP THPT 2023 – BÀI TẬP PHÁT TRIỂN TỪ ĐỀ MINH HỌA...25 CHUYÊN ĐỀ ÔN THI TỐT NGHIỆP THPT 2023 – BÀI TẬP PHÁT TRIỂN TỪ ĐỀ MINH HỌA...
25 CHUYÊN ĐỀ ÔN THI TỐT NGHIỆP THPT 2023 – BÀI TẬP PHÁT TRIỂN TỪ ĐỀ MINH HỌA...
 
3.14.24 The Selma March and the Voting Rights Act.pptx
3.14.24 The Selma March and the Voting Rights Act.pptx3.14.24 The Selma March and the Voting Rights Act.pptx
3.14.24 The Selma March and the Voting Rights Act.pptx
 
Plant Tissue culture., Plasticity, Totipotency, pptx
Plant Tissue culture., Plasticity, Totipotency, pptxPlant Tissue culture., Plasticity, Totipotency, pptx
Plant Tissue culture., Plasticity, Totipotency, pptx
 
POST ENCEPHALITIS case study Jitendra bhargav
POST ENCEPHALITIS case study  Jitendra bhargavPOST ENCEPHALITIS case study  Jitendra bhargav
POST ENCEPHALITIS case study Jitendra bhargav
 
LEAD5623 The Economics of Community Coll
LEAD5623 The Economics of Community CollLEAD5623 The Economics of Community Coll
LEAD5623 The Economics of Community Coll
 
30-de-thi-vao-lop-10-mon-tieng-anh-co-dap-an.doc
30-de-thi-vao-lop-10-mon-tieng-anh-co-dap-an.doc30-de-thi-vao-lop-10-mon-tieng-anh-co-dap-an.doc
30-de-thi-vao-lop-10-mon-tieng-anh-co-dap-an.doc
 
DLL Catch Up Friday March 22.docx CATCH UP FRIDAYS
DLL Catch Up Friday March 22.docx CATCH UP FRIDAYSDLL Catch Up Friday March 22.docx CATCH UP FRIDAYS
DLL Catch Up Friday March 22.docx CATCH UP FRIDAYS
 
3.12.24 Freedom Summer in Mississippi.pptx
3.12.24 Freedom Summer in Mississippi.pptx3.12.24 Freedom Summer in Mississippi.pptx
3.12.24 Freedom Summer in Mississippi.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - HK2 (...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - HK2 (...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - HK2 (...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - HK2 (...
 
BBA 205 BUSINESS ENVIRONMENT UNIT I.pptx
BBA 205 BUSINESS ENVIRONMENT UNIT I.pptxBBA 205 BUSINESS ENVIRONMENT UNIT I.pptx
BBA 205 BUSINESS ENVIRONMENT UNIT I.pptx
 
LEAD6001 - Introduction to Advanced Stud
LEAD6001 - Introduction to Advanced StudLEAD6001 - Introduction to Advanced Stud
LEAD6001 - Introduction to Advanced Stud
 
The OERs: Transforming Education for Sustainable Future by Dr. Sarita Anand
The OERs: Transforming Education for Sustainable Future by Dr. Sarita AnandThe OERs: Transforming Education for Sustainable Future by Dr. Sarita Anand
The OERs: Transforming Education for Sustainable Future by Dr. Sarita Anand
 
LEAD6001 - Introduction to Advanced Stud
LEAD6001 - Introduction to Advanced StudLEAD6001 - Introduction to Advanced Stud
LEAD6001 - Introduction to Advanced Stud
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
 

เอกสารประกอบการบรรยาย

  • 1. Chapter 5 Database Design 1 F (Database Design) F F F F F F F F 01 0005 F F 2000 219.63 Yes 409 0100 F 219.63 Yes 155 02 CD-ROM 0125 SALES MANAGER FACTOMATIC 700.93 No 169 0051 SECRETS OF STARGATE 1,842.99 No 197 0010 US ATLAS 540.19 No 159 03 Hardware 0007 VIDEO CONFERENCING CARD- 369.16 Yes 205 FLY VIDEO OF SOUND 0008 F F Panasonic Model 260.00 Yes 177 VHS F NV-VX3 04 Multimedia 0023 JAPANESE 1, LIYC 278.00 No 326 0055 JAPANESE 2, LIYC 278.00 No 159 F F F F F F F F (%) 10258 015 21/10/xx 28/10/xx 0005 8 25.00% 0100 8 0.00% 0125 15 0.00% 10265 181 21/10/xx 27/10/xx 0005 31 0.00% 0010 15 0.00% 10278 015 24/10/xx 3/11/xx 0007 16 0.00% 0008 31 25.00% 0023 4 0.00% Mr.Warawut Khangkhan
  • 2. Chapter 5 Database Design 2 F F F F F F F F 003 P&S STORE 1 F 159 21 ( ) 10300 250-0750 . 015 Happy Shop 29 . F F 10110 240-2865-75 181 The Book Shop Asia Hotel 296 . 10330 267-8850-5 213 P S Line 2675 F 9 F . 95 . 10330 253-0123 008 The Bookseller 428 Rama I Road, Siam Square Bangkok 10500 233-1717 Mr.Warawut Khangkhan
  • 3. Chapter 5 Database Design 3 F 1 (First Normal Form) F F F F F F F F F 1 F F F F F F F (Products) F F F F F F F F F F F F F F F F (PK) F F F F F F 1 F F F F F F 01 0005 F F 2000 219.63 Yes 409 0100 F 219.63 Yes 155 02 CD-ROM 0125 SALES MANAGER FACTOMATIC 700.93 No 169 0051 SECRETS OF STARGATE 1,842.99 No 197 0010 US ATLAS 540.19 No 159 03 Hardware 0007 VIDEO CONFERENCING CARD- 369.16 Yes 205 FLY VIDEO OF SOUND 0008 F F Panasonic Model 260.00 Yes 177 VHS F NV-VX3 04 Multimedia 0023 JAPANESE 1, LIYC 278.00 No 326 0055 JAPANESE 2, LIYC 278.00 No 159 F F 1 F F F F F F 01 0005 F F 2000 219.63 Yes 409 01 0100 F 219.63 Yes 155 02 CD-ROM 0125 SALES MANAGER FACTOMATIC 700.93 No 169 02 CD-ROM 0051 SECRETS OF STARGATE 1,842.99 No 197 02 CD-ROM 0010 US ATLAS 540.19 No 159 03 Hardware 0007 VIDEO CONFERENCING CARD- 369.16 Yes 205 FLY VIDEO OF SOUND 03 Hardware 0008 F F Panasonic Model 260.00 Yes 177 VHS F NV-VX3 04 Multimedia 0023 JAPANESE 1, LIYC 278.00 No 326 04 Multimedia 0055 JAPANESE 2, LIYC 278.00 No 159 Mr.Warawut Khangkhan
  • 4. Chapter 5 Database Design 4 (Orders) F F F F F F F F F F F F F F F F (PK) F F F F F F F F F F F F F F 1 F F F F F F F (%) 10258 015 21/10/xx 28/10/xx 0005 8 25.00% 0100 8 0.00% 0125 15 0.00% 10265 181 21/10/xx 27/10/xx 0005 31 0.00% 0010 15 0.00% 10278 015 24/10/xx 3/11/xx 0007 16 0.00% 0008 31 25.00% 0023 4 0.00% F F 1 F F F F F F F (%) 10258 015 21/10/xx 28/10/xx 0005 8 25.00% 10258 015 21/10/xx 28/10/xx 0100 8 0.00% 10258 015 21/10/xx 28/10/xx 0125 15 0.00% 10265 181 21/10/xx 27/10/xx 0005 31 0.00% 10265 181 21/10/xx 27/10/xx 0010 15 0.00% 10278 015 24/10/xx 3/11/xx 0007 16 0.00% 10278 015 24/10/xx 3/11/xx 0008 31 25.00% 10278 015 24/10/xx 3/11/xx 0023 4 0.00% F (Customer) F F F F F Mr.Warawut Khangkhan
  • 5. Chapter 5 Database Design 5 F 2 (Second Normal Form) F F 2 F F F F F F ( F Non-key Attribute) F F F F F F F F F 2 F F F (PK) F F F F F (Products) F (Customers) F F 2 F F F F (Products) F F (Customers) F F F F (Orders) FF F 2 F F F F F F F ( F F Composite Key) F F 2 F F 2 • 1 (Orders) F F F (PK) F F F F F F F FF F F F • 2 (OrdersDetails) F F F F (PK) F F F F F F F F 2 F F F F F F F (%) 10258 015 21/10/xx 28/10/xx 0005 8 25.00% 10258 015 21/10/xx 28/10/xx 0100 8 0.00% 10258 015 21/10/xx 28/10/xx 0125 15 0.00% 10265 181 21/10/xx 27/10/xx 0005 31 0.00% 10265 181 21/10/xx 27/10/xx 0010 15 0.00% 10278 015 24/10/xx 3/11/xx 0007 16 0.00% 10278 015 24/10/xx 3/11/xx 0008 31 25.00% 10278 015 24/10/xx 3/11/xx 0023 4 0.00% Mr.Warawut Khangkhan
  • 6. Chapter 5 Database Design 6 F F 2 (Orders) F F F F 10258 015 21/10/xx 28/10/xx 10258 015 21/10/xx 28/10/xx 10258 015 21/10/xx 28/10/xx 10265 181 21/10/xx 27/10/xx 10265 181 21/10/xx 27/10/xx 10278 015 24/10/xx 3/11/xx 10278 015 24/10/xx 3/11/xx 10278 015 24/10/xx 3/11/xx (OrderDetails) F F F (%) 10258 0005 8 25.00% 10258 0100 8 0.00% 10258 0125 15 0.00% 10265 0005 31 0.00% 10265 0010 15 0.00% 10278 0007 16 0.00% 10278 0008 31 25.00% 10278 0023 4 0.00% F F 2 One-to-Many (Orders) (OrderDetails) F 1 F F Mr.Warawut Khangkhan
  • 7. Chapter 5 Database Design 7 F 3 (Third Normal Form) F F 3 F F F F F F F F F F F F F F 3 F F F F F F F F F F (Products) FF F 3 F F F F F F F (PK) F F F (Candidate Key) F F2 • 1 F (Categories) F F F ( F ) F F F F F • 2 F (Products) F F F F F F (PK) F F F F 3 F F F F F F 01 0005 F F 2000 219.63 Yes 409 01 0100 F 219.63 Yes 155 02 CD-ROM 0125 SALES MANAGER FACTOMATIC 700.93 No 169 02 CD-ROM 0051 SECRETS OF STARGATE 1,842.99 No 197 02 CD-ROM 0010 US ATLAS 540.19 No 159 03 Hardware 0007 VIDEO CONFERENCING CARD- 369.16 Yes 205 FLY VIDEO OF SOUND 03 Hardware 0008 F F Panasonic Model 260.00 Yes 177 VHS F NV-VX3 04 Multimedia 0023 JAPANESE 1, LIYC 278.00 No 326 04 Multimedia 0055 JAPANESE 2, LIYC 278.00 No 159 F F 3 F (Categories) F F 01 02 CD-ROM 03 Hardware 04 Multimedia Mr.Warawut Khangkhan
  • 8. Chapter 5 Database Design 8 F (Products) F F F F F 01 0005 F F 2000 219.63 Yes 409 01 0100 F 219.63 Yes 155 02 0125 SALES MANAGER FACTOMATIC 700.93 No 169 02 0051 SECRETS OF STARGATE 1,842.99 No 197 02 0010 US ATLAS 540.19 No 159 03 0007 VIDEO CONFERENCING CARD-FLY VIDEO OF 369.16 Yes 205 SOUND 03 0008 F F Panasonic Model VHS F NV- 260.00 Yes 177 VX3 04 0023 JAPANESE 1, LIYC 278.00 No 326 04 0055 JAPANESE 2, LIYC 278.00 No 159 F F 2 One-to-Many F (Categories) F (Products) F 1 F F F (Orders), (OrderDetails) F (Customers) 3 F F (PK) F F F Normalization F 3 F BCNF (Boyce/Codd Normal Form) F 3 F F Mr.Warawut Khangkhan
  • 9. Chapter 5 Database Design 9 F 4 (Fourth Normal Form) F F 4 F F F F (Multivalued Dependency) F Many-to- Many F FB F FA F F FC F F F 4 F F F F F F F F FF F F 4 F F F 4 F Multivalued F F F 2001 1001 1002 F F 2002 1003 F 2003 1004 1005 F First Normal Form F F 2001 1001 2001 1001 F 2001 1001 F 2001 1002 2001 1002 F 2001 1002 F 2002 1003 2002 1003 F 2003 1004 2003 1005 F F F F 3 F F F F F F (PK) F F F (Candidate Key) F F F F 4 F F F F 2 F 3 F F F F F 4NF F F F 2 F Mr.Warawut Khangkhan
  • 10. Chapter 5 Database Design 10 F F F 4 F 2001 1001 2001 1002 2002 1003 2003 1004 2003 1005 2001 2001 F 2001 F 2002 2002 F 2003 2003 F F Normalization F F 3 F F F F F 4 E-R Diagram F Datanamic F F F F F Foreign Key (FK) F Primary Key (PK) F F F Primary Key (PK) Mr.Warawut Khangkhan