The project uses an e-commerce database with the following tables:
- customers - Customer information
- products - Product catalog
- orders - Order headers
- order_items - Order line items
- SELECT statements with WHERE clauses
- ORDER BY for sorting
- GROUP BY for aggregation
- HAVING for filtered aggregation
- INNER JOIN, LEFT JOIN, RIGHT JOIN
- Multiple table joins
- Subqueries and nested SELECT statements
- Aggregate functions (SUM, AVG, COUNT)
- NULL value handling with COALESCE
- customer_order_summary - Customer analytics
- product_performance - Product sales metrics
- monthly_sales - Revenue trends
- customer_lifetime_value - Customer value analysis
- category_performance - Category-wise performance
- SQLite installed on your system
- Clone this repository
- Create and setup the database:
sqlite3 ecommerce.db