Page 34 - AIS access_chang_ingraham
P. 34

32     CHAPTER 2 DATA MODELS AND RELATIONAL DATABASES




                                                                 Sales

                          Invoice_No          Date          Salesperson_No        Customer_No         Amount

                             101            4/03/2006            101                  1000            1549.90
                             102            4/05/2006            103                 1003              299.85
                             103            4/05/2006            103                 1002             1449.80
                             104            4/15/2006            104                 1000              799.90
                             105            4/15/2006            102                 1005              849.95
                             106            4/16/2006            102                 1007               99.95
                             107           5/02/2006             101                  1002            2209.70
                             108           5/03/2006             103                  1000             799.90






                                                 Sales-Inventory

                          Invoice_No         Item_No          Quantity        Extension

                            101                1025               1             699.95
                            101                1035               1             849.95
                            102                1045               3             299.85
                            103                1010               1              29.95
                            103                1015               1              19.95
                            103                1025               2            1399.95
                            104                1025               1             699.95
                            104                1045               1              99.95
                            105                1035               1             849.95
                            106                1045               1              99.95
                            107                1030               1             999.95
                            107                1035               1             849.95
                            107                1040               2             159.90
                            107                1045               2             199.90
                            108                1025               1             699.95
                            108                1045               1              99.95






                                                             Cash Collections

                          Rimittance_No       Date       Amount     Invoice_No    Cashier_No     Customer_No
                              220           5/02/2006    1549.90       101           203             1000
                              278           5/10/2006     799.90       108           202             1000
                              276           5/30/2006    2209.70       107           202             1002
                              289           5/30/2006     849.95       105           204             1005





                   2.2  Cardinalities
                        Considering each business situation, indicate the maximum and minimum cardinalities for the
                        following events. The first one is done for you.
   29   30   31   32   33   34   35   36   37   38   39