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.
- 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.
- 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.
- 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.
- Run
schema.sqlto create the tables. - Run
insert-data.sqlto populate the tables with sample data. - Execute queries from
sample-queries.sqlto explore and analyze the data.
- SQL Server (or any SQL-compatible RDBMS)
- SQL Language (DDL, DML, JOINS, Aggregates, Subqueries)
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!