Guidelines for Database Project
Guidelines for Database Project
1. Introduction
2. Database Design
a. Conceptual Design:
b. Logical Design:
b. Schema Creation:
Implement the schema defined in the logical design in your chosen DBMS. Create
tables, define relationships, primary keys, foreign keys, and constraints.
c. Data Entry:
Populate the database with sample data, ensuring it accurately reflects real-world
scenarios.
Use INSERT statements to add initial records.
d. SQL Queries:
Write SQL queries for various functions (e.g., retrieving, updating, deleting data).
o For example, retrieve a list of all customers who placed orders in the last
month.
Implement stored procedures, triggers, or views if necessary, based on project
requirements.
a. Data Integrity:
Ensure that all relationships between tables are enforced and that there is no
inconsistent or erroneous data in the system.
Test for referential integrity (e.g., no orphan records in the Mysql table if a Customer
is deleted).
b. Functional Testing:
Test whether all required functionalities (queries, reports, CRUD operations) are
working as expected.
Verify the system behaves correctly under normal and edge-case conditions..
5. Documentation
Document your ERD, schema, table definitions, relationships, and any special design
considerations.
Include descriptions for each table, column, and relationship.
b. SQL Scripts:
Provide the SQL scripts for creating the database, inserting sample data, and
performing operations like queries or updates.
Include stored procedures, triggers, or views if applicable