Skip to content

Ahmed8eith/SQL-Relational-Database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SQL Practice Database

A relational database built with Microsoft SQL Server. Models a simple order management system with customers, employees, products, and orders.

Database Diagram

Database Diagram

Tables

  • customer – customer info (name, city, phone)
  • employee – employee info (name, age, city, salary)
  • product – product info (name, price, expiry date)
  • orders – links customers and employees to purchases
  • order_details – junction table linking orders to products

How to Run

  1. Open SQL Server Management Studio (SSMS)
  2. Run schema.sql to create the tables
  3. Run data.sql to insert the sample data

Requirements

  • Microsoft SQL Server
  • SSMS or any SQL Server-compatible client

About

SQL Server database modeling an order management system includes schema, sample data, and an ERD diagram.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages