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

  Evaluating an ecommerce website

Create a check list that contains key point for evaluating an ecommerce website - Write a short, reflective report about website

  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.

  Creating functions through conditional operator

Use the conditional operator and the cal_days_in_month function, determine the number of days in the current month and output to browser whether it is normal month or a leap month.

  Web development projects with database

Since the vast majority of web-development projects involve a database, do you think that computational activities should be performed there, or do you think they belong in the XML page or stylesheet?

  Comparing shelf software packages

Required assistance with comparing and contrasting two main off the shelf software packages that could be implemented in an organization.

  Web based scams

Web phishing, pharming and vishing are popular web based scams. Talk about currently used tools and recommended measures to defeat this kind of attacks efficiently?

  Explanation of contextual links

The most powerful hypertext capabilities is the the contextual link. Wikipedia . com is a great example of a site that utilizes contextual links.

  How architectural and protocol changes occur

Discuss how architectural and protocol changes happen, the administrative organization that oversees the technical development of the Internet,

  Traditional approaches for training professionals

Webinars and other web conferencing techniques have proved most beneficial for the provision of affordable quality corporate training.

  Internet for business

Discuss how can a business use the Internet and give at least three examples with web links demonstrating your answer.

  It influences the behavior of organizations

Information technology influences the behavior of organizations. Name one effect of Information technology implementation and long-term usage you suppose having a positive contribution and one having a negative consequence.

  Importance of a guided navigation system

Explain the use and importance of a guided navigation system and shopping cart for a website designed for e-commerce and business purpose.

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