Building a relational database management system

Assignment Help Web Project
Reference no: EM133105992

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: EM133105992

Questions Cloud

How much did the boat cost to build : Yolo assigns manufacturing overhead based on direct labor hours. According to the job cost sheet, how much did the boat cost to build
What did julia woodland do right : 1. Overall, what did Julia Woodland do right? What could she have done differently?
Major component and goal of construction contracts : A major component and goal of construction contracts is to minimize the risks on a construction project. F
Why is sdg 5 a wicked problem : Why is sdg 5(gender quality a sustainability issue and why is it important?
Building a relational database management system : Building a Relational Database Management System - design a conceptual model of the database and draw an ER diagram that can capture the information needed
Prepare the adjusting entry at december : In order to do this, Red Leaf used $51,211 cash and signed a new one-year, Prepare the adjusting entry at December 31, 2020 in connection
Find out the methods of learning : Gain a clearer picture of your learning progress and so in a better position to plan your learning
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?

Reviews

len3105992

3/16/2022 10:52:26 PM

Need to create tables and make php or html pages without css or any other scripting and need consider all functionalities in the phase2.pdf and for reference what the project is phase1.pdf is available

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