Database and Entity-Relation Diagram Design

Assignment Help Web Project
Reference no: EM133105985

Phase 1: Database and Entity-Relation (ER) Diagram Design

Turn in a hard copy of the ER diagram and the schema of the relational tables.

During Phase 1, your task is to design a conceptual model of the database and draw an ER diagram that can capture the information needed for this database. You need to model the data stored in the database as entity sets and relationship sets with cardinality and participation constraints, show attributes and identify primary key for each entity set. Then, you should translate your ER diagram into a set of relational tables with primary key and foreign key constraints (if any) indicated. (You do not need to write create table statements.)

Your database needs to store the following information about an internet bookstore.

There should be information about books, authors, publishers, customers, orders, shopping carts, etc. Books may be hardcover, paperback, electronic and audio. Customers may be members who will get free shipping, non-members and one-time guests. Authors can also be customers.

Your application should have the following functionalities:
1. There is a super user who can modify all contents of the database.
2. Publishers can add new books.
3. Customers can register, and login with username and password, and update their own information. Customers may become members after paying membership fee.
4. Customers may make purchases of books. Customers should be able to check their order information and purchase history.
5. Customers should be able to search by keyword.
6. Different types of books may have different delivery method.
7. Customers may give books they have purchased a rating between 1 and 5 and a comment.

Phase 2: Building a Relational Database Management System

During Phase 1, you have designed the E-R diagram and relational schema of the database. In Phase 2, you will enforce the constraints and implement the desired functionalities as specified in Phase 1's project description.

Your application should have the following functionalities:
1. There is a super user who can modify all contents of the database.
2. Publishers can add new books.
3. Customers can register, and login with username and password, and update their own information. Customers may become members after paying membership fee.
4. Customers may make purchases of books. Customers should be able to check their order information and purchase history.
5. Customers should be able to search by keyword.
6. Different types of books may have different delivery method.
7. Customers may give books they have purchased a rating between 1 and 5 and a comment.

Phase 2 of the project contains two parts. Part 1: Create and populate the database:
1. Create a database called "bookstore" for user "root". Do not specify password for root.
2. In "bookstore", create tables by running a "DB2.sql" file and populate the tables with your own fabricated data.
• Specify primary key for each table.
• Tables that are translated from relationship sets, weak entity sets, and subclasses should have foreign key constraints specified.
• Each table should contain at least 5 records. Do not insert more than 50 records for any table.
• Put all "CREATE TABLE" and "INSERT INTO" statements in one DB2.sql file so your database can be easily duplicated.

Part 2: Perform the following tasks as queries (some queries may include several steps):
1. A new customer registers, upgrades from non-member to member.
2. A publisher adds a new book with author information to the database, updates price of a book.
3. The admin (super user) updates the cost of shipping methods for books.
4. A customer searches for a particular book by title and/or author and purchases the book.
5. A guest searches for the best-selling book of a given year, if no year is given, return the best-selling book for the entire history.
6. A customer checks their order history and reorder a book
7. An author purchases their own books.
8. A customer gives rating and comment to a book they have purchased, checks rating and comments of a book.

You should have one .html file as user-interface that takes user input. You may have one short .php file for every query or one long .php file for all the queries combined.

Attachment:- Database Management System.rar

Reference no: EM133105985

Questions Cloud

What is the firm weighted average cost of capital : The after tax cost of debt is 8.00 percent, and the cost of common equity is 15.00 percent. What is the firm weighted average cost of capital
Dissenting to merger of gvg and hula boards : What rights does Bonsetti have (in most states) as a minority shareholder dissenting to the merger of GVG and Hula Boards?
Ethics issue-disaster planning : As the world progresses into the twenty-first century, one aspect of health care - disaster planning - requires urgent attention.
Journalize the issuance of the stock : On May 10, Concord Corporation issues 3,200 shares of $10 par value common stock for cash at $22 per share. Journalize the issuance of the stock
Database and Entity-Relation Diagram Design : Database and Entity-Relation (ER) Diagram Design - Design a conceptual model of the database and draw an ER diagram that can capture the information needed
What is the unit cost per finished unit of job : X Corp incurred the following cost for Job 101 for manufacture of 200 units: Direct materials of 660; What is the unit cost per finished unit of Job
How can the manufacturer use a futures contract : They negotiate a price of $100 million in January, and the plane should be delivered by September. How can the manufacturer use a Futures Contract
Standards and parameters that health care professionals : Define the standards and parameters that health care professionals must have in order to work within their scope of practice.
What is the immediate issue facing domino : What does the company need to say publicly in response to the viral employee video, the huge online following and the growing media coverage?

Reviews

len3105985

3/16/2022 10:49:12 PM

need to check the functionalites from phase2 pdf and phase1 is the refernce for what the project is

Write a Review

Web Project Questions & Answers

  NIT6120 Mobile Applications Assignment Problem

NIT6120 Mobile Applications Assignment help and solution, Victoria University, Assessment help - Assignment 2 –iOS Application Multiscreen App

  Create a desktop and mobile-based shopping website

Create a desktop and mobile-based shopping website page with interactions (Hint: Use adaptive views) Use iPhone template and solve following assignment.

  Gpc and runtime magic quotes

Create a script that lets you know whether Zeus or Helios has the GPC and Runtime Magic Quotes turned on or off. The output should have appropriate labels that define what output signified and should display 'ON' or 'OFF' depending on the setting.

  Display a list of all three products with an image

Display a list of all three products with an image, a product name, a product price, and a product description.

  Calculate the derivative of the function

Need to use two different methods to find a root for an equation of the form f(x)=0, however you will be starting with ONE guess instead of two.

  Find a church family that you agree with personally

Find a church family that you agree with personally. Our faith is a very personal thing that is based on our understanding of the Bible

  Create a website for a fashion designer

Imagine that an associate of yours just designed a table with captions outside the table's borders. The font on the Website is black, and the text inside the table is red.

  Make a screen capture showing the fingerprint generated

Make a screen capture showing the fingerprint generated by the key creation process and paste it into your Lab Report file. This lab has five parts which should be completed in the order specified.

  Describe cognitive social phenomena that occur specifically

Describe cognitive social phenomena that occur specifically to the context of the MMORPG that wouldn't happen in a face-to-face checkers game.

  How the company uses the site to communicate

How the company uses the site to communicate with its customers. Your assignment is to write a one-page summary evaluating the company website, and be sure to address the following:

  Create an html form and a corresponding java servlet

Construct an HTML form and a corresponding Java servlet that receives one or many parameters from the form and displays the result in a servlet generated dynamic page.

  Identify key attribute, business benefits of new technology

Prepare a report of 15 to 20 pages about the selected emerging technology and submit the report (Hard Copy and Soft Copy via blackboard) in the format specified. Report Submission will be in 12th week followed by presentation in the 13th Week. The..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd