A customer would like a database design for an e-commerce website that sells books. He wants...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
A customer would like a database design for an e-commerce website that sells books. He wants to store users, employees, inventory, and shopping cart data for each user. Once the user checks out, their cart data can be assumed to be cleared from the database. Only some employees can alter inventory data and the owner wants to be able to monitor who is making inventory changes for audits. How many relations would you need? What would they be? What attributes would each relation have? Which ones would be primary keys? • What foreign keys would each relation have? What links do these create and why is it necessary? • Given most databases can only store one item per attribute, how would the shopping cart be handled to allow for users to have an undetermined amount of items in their cart? A customer would like a database design for an e-commerce website that sells books. He wants to store users, employees, inventory, and shopping cart data for each user. Once the user checks out, their cart data can be assumed to be cleared from the database. Only some employees can alter inventory data and the owner wants to be able to monitor who is making inventory changes for audits. How many relations would you need? What would they be? What attributes would each relation have? Which ones would be primary keys? • What foreign keys would each relation have? What links do these create and why is it necessary? • Given most databases can only store one item per attribute, how would the shopping cart be handled to allow for users to have an undetermined amount of items in their cart?
Expert Answer:
Answer rating: 100% (QA)
1 I would need four relations users Stores information about the users of the website such as their name email address and shipping address employees ... View the full answer
Related Book For
Modern Database Management
ISBN: 978-0133544619
12th edition
Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi
Posted Date:
Students also viewed these computer network questions
-
The _ _ _ _ function enables you to retrieve separate characters in a string. A . at ( ) B . char _ at ( ) C . indexof ( ) D . value _ of ( )
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Googles ease of use and superior search results have propelled the search engine to its num- ber one status, ousting the early dominance of competitors such as WebCrawler and Infos- eek. Even later...
-
Determine the range of the 2x function y = 3 sec 3
-
Suppose the standard deviation of the coefficient of friction in Prob. 165 is = 0.025, where the deviation from the mean is due entirely to environmental conditions. Find the brake torques...
-
lectronique Instruments, a rapidly expanding electronic parts distributor, is formulating its plans for 2012. John Kedrowski, the firms director of marketing, has completed his 2012 forecast and is...
-
This text indicates that one of the roles of managers is to make decisions about organising resources. How can a human resource manager use differential analysis in deciding the appropriate number...
-
You have just been hired to the Senior Accountant position for Fitchtown LLC. During your first month in your new role, you will be completing a full accounting cycle for the month. You are the...
-
As we approach the dissertation block, look at the current literature on doctoral student success. What are some issues that you have run into during your journey? What are some ways that you can...
-
From the slide titled "Enhanced Processor w/PC Tester Circuit" from the lecture segment titled Programming a CPU with Machine Language - The Execution, implement the following division algorithm:...
-
How does Dorian's approach to marketing differ from that of traditional jewelry retailers? Do you think this approach is more successful or less?
-
Factorize: 2 6x11x10
-
A sample of gas occupies a volume of 5 5 . 1 mL . As it expands, it does 1 2 5 . 2 J of work on its surroundings at a constant pressure of 7 8 3 Torr. What is the final volume of the gas?
-
Below is the complete list of accounts of Cobras Incorporated and the related balance at the end of March. All accounts have their normal debit or credit balance. Supplies, $ 1 , 50 0 ; Buildings, $...
-
5. Complete a short Accounts Payable Report to the Senior Accountant to identify any discrepancies and seek authorisation for payment of invoices attracting the 5% discount payable in June 2022 (i.e....
-
Suppose A = 7.362 - 9.223. Its magnitude is A and its direction is measured in degrees counterclockwise (CCW) from the +x-axis. Calculate 0. 0 = = O
-
What does the graph suggest about the effectiveness of the naval blockade that Great Britain set up to keep essential goods from reaching Germany during World War 1? ? Millions of Dollars U.S....
-
(a) Bright Sdn Bhd (BSB) is a tax resident manufacturing company in Johor, which involves in ceramic tiles. Currently, BSBs annual sales turnover has been forecasted to be around RM 300,000 for the...
-
What are the TutorlDs for tutors who have not yet tutored anyone? Based on the relations shown in Figure 6-12. The database tracks an adult literacy program. Tutors complete a certification class...
-
Create an enterprise data model that captures the data needs of FAME. Use a notation similar to the one shown in Figure 1-4. In figure 1-4 INVENTORY PRICING HISTORY CUSTOMER Places Keeps Price...
-
Visit the Web sites of one or more popular cloud service providers that provide cloud database services. Use the table below to map the features listed on the Web site to the major concepts covered...
-
Identify each of the following as a consumer product or a business product, or classify it as both: a. frozen yogurt b. iPad c. gasoline d. boat trailer e. hand sanitizer f. Post-its
-
What are the steps in developing a marketing strategy?
-
What is the difference between primary data and secondary data?
Study smarter with the SolutionInn App