Assignment for Fundamentals of Database Systems
Assignment for Fundamentals of Database Systems
Task: Design and implement a database system for one selected system. Example online
bookstore.
Requirements:
1. Identify and define the entities that need to be stored in the database. Examples may include
books, authors, customers, orders, and inventory. Determine the attributes for each entity
(e.g., book title, author name, customer ID).
2. Determine the relationships between entities. For example, a book can have multiple
authors, a customer can place multiple orders, and the inventory is associated with specific
books.
3. Design the database schema using Entity-Relationship Diagram. Include entities, attributes,
primary keys, and foreign keys.
5. Implement the database schema by creating tables, specifying data types for attributes, and
defining primary and foreign key constraints using SQL.
6. Populate the database with sample data to ensure it reflects the requirements of the online
bookstore. Include a sufficient amount of data to demonstrate the functionality of the system.
7. Write SQL queries to perform various operations on the database, such as retrieving books
by a specific author, adding new customers, updating inventory quantities, and generating
reports on sales.
Note: Ensure that the database design follows normalization principles to eliminate redundancy
and maintain data integrity.
Submission Guidelines:
Submit the following for evaluation:
Page 1 of 2
- SQL scripts for table creation and data population with snapshots
Grading Criteria:
- Correctness and completeness of the database schema design
Page 2 of 2