This project uses SQLite to analyze transactional data from an e-commerce dataset.
link= "https://www.kaggle.com/datasets/carrie1/ecommerce-data"
Table Name: transactions
| Column | Type |
|---|---|
| InvoiceNo | TEXT |
| StockCode | TEXT |
| Description | TEXT |
| Quantity | INTEGER |
| InvoiceDate | TEXT |
| UnitPrice | REAL |
| CustomerID | INTEGER |
| Country | TEXT |
Displays a sample of the data for validation.
Calculates the total revenue generated by each invoice.
Lists the top 10 products based on quantity sold.
Calculates average revenue per order for each customer.
- Open the database in DB Browser for SQLite.
- Go to the "Execute SQL" tab.
- Paste the queries from the
.sqlfile and run them. - Use the "Browse Data" tab to view results or use SQL queries for analysis.