Professional Documents
Culture Documents
BACKGROUND
Customersshouldbeabletobrowseacatalogofbooksandplaceorders.Mostcorporate customersprovideaISBNnumberandaquantity;theyoftenpaybycreditcard.Thebooksare preparedforshipmentiftheyareinstock.Iftherearentenoughcopiesinstock,additional copiesareorderedandtheorderisdelayeduntilallbooksarereadyforshipment.Thecatalog includesallthebooksthatareavailableforsale.Theeachbook,thecatalogcontainsitsISBN number,title,author,purchaseprice,salesprice,andtheyearthebookwaspublished.Mostof thecustomersareregularsandshouldtheirnamesandaddressesshouldbeinthedatabase. Newcustomersmustbeenteredintothedatabasesothatanaccountcanbeestablished,before theycanorderabook.Onthewebsite,thecustomersshouldbeabletoenterauseridandlogin passwordbeforetheycanorderabook. Someadditionalinformation: Ifacustomerplacestwoordersforthesamebookinoneday,thefirstorderishandled bycreatinganewOrdersrelationshipandthesecondorderishandledbyupdatingthevalueof thequantityattributeinthisrelationship. Ifacustomerplacestwoordersfordifferentbooksinoneday,eachinstanceofthe Ordersrelationshipsetrelatesthecustomertoadifferentbook.
TASKS
1. DevelopanERdiagramtothatcapturestheentities,theirattributes,andtherelations. 2. DeveloptherelationalmodelthatfromtheERdiagram.
PARTII Additionalrequirements:
PARTIII
Developthequeriesanduserinterfacethatsupportsthefollowingrequirements: 1. Customerssearchbooksbyauthorname,title,orISBN 2. Employeesregisternewcustomersandeditexistingcustomerdata. 3. Customerscheckoutafinalshoppingbaskettocompleteasale. 4. Customersaddanddeletebooksfromashoppingbasket 5. Customerscheckthestatusofanexistingorderandlookatoldorders 6. Employeeslookupcustomercontactinformation 7. Employeesaddnewbookstotheinventory 8. Employeesfulfillorders,andneedtoupdatetheshippingdate 9. Employeesanalyzethedatatofindprofitablecustomersandcustomerslikelytorespond tospecialmarketingcampaigns.