讲解:Database、ER Model、SQL、SQLR|R

Electronic Vendor Database1 Project TimelineThe project has three deliverables;_ ER Diagram: each group should develop an ER Model for the application(“Electronic Vendor Database”). The ER Diagram can be included in the report as anytype of image file._ Relational Schema: the second deliverable is a translation of the ER Model into arelational schema implemented as an SQL script. You can use Oracle or any other DB(e.g., MySQL and PostgreSQL) for the project in which the submitted script should beexecutable. Besides from defining tables and constraints, this script may includeviews or indexes where appropriate. Please upload the script as a simple text file._ Application: the last deliverable is an Electronic Vendor Database Application thatuses the relational schema defined in the first two deliverables. This application canbe either a web or desktop application.2 OverviewThe application is an electronics vendor that operates both a website and a chain ofmany physical stores. Examples include Best Buy and Circuit City. To find out moreabout this application, think about any experiences you may have had makingpurchases both online and in store, and browse their websites. In our hypotheticalcompany, it has been decided to redesign a major part of the database thatunderlies company operations. Unfortunately, the manager assigned to solicitdatabase design proposals is unable to provide a very detailed specification at thetechnical level. Fortunately, you are able to do that. Here are a few points toconsider:_ There are many different products, grouped into a variety of (possibly overlapping)categories. Groups can be formed by type of product (cameras, phones, etc.), bymanufacturer (Sony, Apple, etc.), or by other means (for example, a Gateway PCmight be packaged with a Sony monitor and an HP printer and marketed as apackage)._ Some customers have a contract with the company and bill their purchases to anaccount number. They are billed monthly. Other customers are infrequentcustomers and pay with a credit or d代写Database、代做ER Model、代写SQL编程语ebit card. Card information may be stored foronline customers, but not for in-store customers._ Online sales must be sent to a shipper. The company needs to store the trackingnumber for the shipping company so it can respond to customer inquiries._ Inventory must be accurate both in stores and in warehouses used to replenishstores and to ship to online customers. When inventory is low, a reorder should besent to the manufacturer and listed in the database. When goods arrive, inventoryshould be updated and reorders marked as having been filled._ Sales data are important for corporate planning. Marketers may want to look atsales data by time period, product, product grouping, season, region (for stores), etc.3 ApplicationThe application should be developed for only one electronic vendor (e.g., Best Buy).It should support the following actions:_ Every customer can register an account with an email and will be assigned an ID (asa frequent customer). If one customer purchases multiple products from the websiteand physical stores, the same ID is used. Note that frequent customers can alsopurchase as infrequent customers._ A frequent customer holding an account can register/modify/delete theinformation for their account._ A frequent customer can complete his/her transaction online (including shipping),and check his/her purchase history from both website and the physical stores, aswell as the stock information of different products available for purchase (bothonline and physical stores)._ Infrequent customers can complete their online transactions using their creditcards. Before each purchase, the system checks that if the customer has enoughavailable credit for the purchase (assuming that the available credit is alsomaintained by the electronic vendor). Note that the application does not necessarilyinclude the functions for the sales data analysis, but the backend database shouldstore such information for future decision support. If you would like to add morefeatures in the application, please feel free to do so.转自:http://www.6daixie.com/contents/15/4449.html

你可能感兴趣的:(讲解:Database、ER Model、SQL、SQLR|R)