DB Bachelors
DB Bachelors
The Australian Manufacturing Company (AMC) requires a robust database system to streamline its operations
across multiple stores nationwide. The system should efficiently manage various aspects of AMC's business
activities, including store management, employee administration, product inventory, supplier relationships, patron
interactions, and order processing. The following business rules outline the key requirements for the database
system:
Store Management: Each store operated by AMC must be uniquely identified by a store number and maintain
comprehensive details such as name, contact information (phone number, email address, fax number), and
location (postal address comprising street number, suburb, state, and postcode).
Employee Administration: AMC employs staff across various departments within each store, including HR,
Accounts, Finance, and Sales. Each employee is assigned a unique employee number and provides essential
personal details such as name (first and last names), address, contact information (mobile number, email), Tax File
Number (TFN), salary, and joining date. The system should differentiate between full-time and casual employees,
recording annual salary for full-time staff and hourly rate for casual staff. Additionally, each department has a
supervisor, and each store has a store manager.
Product Management: AMC offers a range of products across categories like fashion, health, beauty, and
electronics. Each product is uniquely identified by a product number and includes details such as name, brand,
description, and price. Products can be supplied by one or more suppliers, and the system should maintain
appropriate supplier details.
Inventory Management: Each store maintains an inventory of products available for sale, tracking the quantity of
each product in stock and the quantity ordered.
Patron Interaction and Orders: Patrons visit AMC stores to shop, and they are characterized by a unique customer
number and personal details such as name, contact number, and address. Patrons can place orders, which include
one or more products. Each order is assigned a unique order number and records details such as order date,
products ordered, and quantity.
Our mission at the Australian Manufacturing Company (AMC) is to implement a robust and efficient database
system that serves as the backbone of our operations, facilitating seamless management of stores, employees,
products, suppliers, patrons, and orders.
The system aims to centralize and automate critical business processes, enhancing productivity, accuracy, and
decision-making across all levels of the organization. By leveraging cutting-edge technology and industry best
practices, we aspire to create a unified platform that empowers AMC to meet customer demands effectively while
optimizing resource allocation and fostering sustainable growth.
At its core, the database system embodies our commitment to excellence, integrity, and innovation. It will enable
AMC to adapt swiftly to evolving market dynamics, anticipate customer needs, and maintain a competitive edge in
the manufacturing industry. Moreover, the system will foster collaboration, transparency, and accountability
among employees, promoting a culture of continuous improvement and customer-centricity.
Through the implementation of this database system, we envision revolutionizing the way AMC operates, driving
operational efficiency, cost-effectiveness, and customer satisfaction. Our ultimate goal is to establish AMC as a
leader in the manufacturing sector, renowned for its agility, reliability, and customer-centric approach.
DBMS Selection
After careful consideration of various factors including functionality, reliability, scalability, and cost-effectiveness,
we have decided to adopt PostgreSQL as the database management system (DBMS) for AMC's operations.
PostgreSQL offers a robust set of features suitable for managing the complex data requirements of our
organization, including support for relational database structures, advanced data types, and extensibility through
custom functions and procedural languages. Additionally, PostgreSQL's reputation for stability, performance, and
open-source nature aligns with our long-term strategic goals. By leveraging PostgreSQL, AMC aims to build a
scalable and cost-effective database solution that can grow with our business needs while ensuring data integrity,
security, and flexibility.
Database normalization is a process used to organize a database structure efficiently by reducing redundancy and
dependency. The normalization process involves dividing large tables into smaller ones and defining relationships
between them. There are several normal forms, each with its own set of rules aimed at achieving a higher level of
data integrity and minimizing data anomalies.
First Normal Form (1NF): Ensures that each table has a primary key and that each column contains atomic values
(no repeating groups or arrays).
Second Normal Form (2NF): Builds on 1NF and eliminates partial dependencies, ensuring that each non-key
attribute is fully dependent on the entire primary key.
Third Normal Form (3NF): Further eliminates transitive dependencies, ensuring that each non-key attribute is
dependent only on the primary key, not on other non-key attributes.
Normalized Schema
After applying the normalization process to our database, we have ensured that all entities are in 3rd normal form
(3NF). This means that each table in the database has been organized in such a way that eliminates redundant data
and minimizes the potential for data anomalies.
By adhering to 3NF, we have structured our database schema to ensure that each non-key attribute is dependent
only on the primary key of its respective table. This helps maintain data integrity, reduces the risk of update
anomalies, and improves overall database performance.
Through careful consideration of the normalization process and adherence to 3NF, we have optimized our
database schema to meet the requirements of AMC's business activities while ensuring efficient data management
and integrity.
Conclusion
In conclusion, the comprehensive analysis, design, and implementation of the database system for the Australian
Manufacturing Company (AMC) have been successfully accomplished. Through meticulous examination of the
business requirements and careful consideration of database design principles, we have developed an effective
solution to streamline AMC's operations.
Key findings from this report include the identification of essential entities such as stores, employees, products,
suppliers, patrons, and orders, each with their attributes and relationships clearly defined in the Entity Relationship
Diagram (ERD). Additionally, the normalization process ensured that the database schema is structured optimally,
with all entities organized in 3rd normal form (3NF) to minimize redundancy and data anomalies.
Furthermore, the implementation of SQL queries demonstrated the system's capability to retrieve relevant
information efficiently, addressing various business needs and queries outlined in the project specifications.