Microsoft SQL Server

Chapter 8 - RDBMS Concepts

SQL Data Model Assignment - Store Management System


ERD Data Model Assignment for Microsoft SQL Server

Introduction to ERD (Entity-Relationship Diagram)

An Entity-Relationship Diagram (ERD) is a visual representation that captures the relationships between entities in a database. It helps in designing the database schema and understanding how different entities such as tables are related to each other. In this assignment, you will design and implement an ERD for a Store Management System using Microsoft SQL Server.

The ERD will focus on the interactions between key elements of a store system like products, customers, orders, and employees. By completing this task, you will practice creating tables, setting relationships, and applying constraints in SQL Server.

Tools for Creating ERDs

To create and visualize ERDs, tools such as Microsoft SQL Server Management Studio (SSMS) or third-party tools like dbForge Studio for SQL Server can be used. These tools enable you to design ERDs and convert them into DDL SQL scripts to create the corresponding database tables.


Objective of the Assignment

The objective is to design and implement a Store Management System. You will create tables, define primary keys, foreign keys, and relationships, and apply constraints such as unique constraints, indexes, and checks.

This assignment comprises 25 tasks that guide you through the creation of a comprehensive data model for managing store products, customers, orders, and employees.


Assignment Tasks

Construct all the tables from Chapter 5 DDL assignment within the ERD diagram using an ERD tool.

  • Begin by creating each table, then define the columns within the table on the ERD tool canvas.
  • Specify the DATA TYPES and NULLABILITY for all columns.
  • Set PRIMARY KEYS for the tables.
  • Define auto increment (IDENTITY) columns as needed.
  • Establish FOREIGN KEY relationships where necessary.
  • Define INDEXES where applicable.
  • Implement CHECK constraints as needed.
  • Define DEFAULTS where applicable.
  • Refer to Chapter 5 DDL assignment for detailed instructions on tables and columns (https://tansyacademy.com/mssql/data-definition-language-sql-ddl/sql-ddl-assignment-store-management-system-project).

Submission Instructions

  1. ERD Design:

    • Option 1: Export your ERD as a PDF using pgAdmin 4.
    • Option 2: Export the ERD as a DDL SQL script.
  2. SQL Scripts:

    • Submit SQL scripts for creating tables, constraints, indexes, and relationships.
  3. Documentation:

    • Provide a brief explanation of the relationships between the tables and your design decisions.

GOOD LUCK WITH YOUR ASSIGNMENT!!!

Don't forget to contact us if you need any further assistance with your assignments, and most importantly, for a manual review and approval of your work.

PARTIAL DATA MODEL FOR Store Management System SQL ASSIGNMENT

i

Comments(0 comments)

Comments Not Found