Skip to content

Dipali-Dongare/Sales-database-sql-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Sales Database Management System (SQL Project)

This project is a beginner-friendly SQL-based Sales Database Management System that demonstrates how to design, populate, and query a relational database using basic and intermediate SQL techniques.

πŸ“ Files Included

  • schema.sql β€” Creates the database tables: Customers, Products, Orders, and Order_Details.
  • insert-data.sql β€” Populates the tables with sample data.
  • sample-queries.sql β€” Contains useful queries for data analysis such as sales summaries, customer insights, and product reports.

πŸ—ƒοΈ Database Structure

Tables:

  • Customers: Stores customer details.
  • Products: Stores product information and stock.
  • Orders: Contains order records linked to customers.
  • Order_Details: Contains details for each product in an order.

πŸ§ͺ Sample Queries

  • View all customers and products.
  • Find orders placed in the last 30 days.
  • Analyze total sales by product or customer.
  • Identify products that were never ordered.
  • Monthly sales trends and more.

πŸš€ How to Use

  1. Run schema.sql to create the tables.
  2. Run insert-data.sql to populate the tables with sample data.
  3. Execute queries from sample-queries.sql to explore and analyze the data.

πŸ› οΈ Technologies

  • SQL Server (or any SQL-compatible RDBMS)
  • SQL Language (DDL, DML, JOINS, Aggregates, Subqueries)

πŸ‘©β€πŸ’» Author

Project designed by a career-switcher passionate about learning SQL and database development.


βœ… Perfect for students, freshers, and career-switchers showcasing SQL skills on GitHub!

About

A beginner friendly SQL Sales Database Management System with schema, data and sample queries.

GitHub: https://github.com/Dipali-Dongare/sales-database-sql-project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors