# ashu-data-analytix/analyse_retail_sale_tsql architecture

> Architecture diagram of the GitHub repository ashu-data-analytix/analyse_retail_sale_tsql, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ashu-data-analytix/analyse_retail_sale_tsql
- Repository: https://github.com/ashu-data-analytix/analyse_retail_sale_tsql

## Overview

This is a small SQL Server retail-sales analysis project. Its workflow is to use transaction data in analytical SQL queries and derive findings about customers, categories, timing, retention, and data quality. The README documents the analysis and its capabilities, but no source excerpts show how the workbook is loaded or how the SQL file is executed; that data link is therefore marked unverified.

Main entry points: [`SQL_RetailSales_Queries_P1.sql`](https://github.com/ashu-data-analytix/analyse_retail_sale_tsql/blob/main/SQL_RetailSales_Queries_P1.sql) (Analysis Queries), [`SQL_Retail_Sales_Analyst-P1_.xlsx`](https://github.com/ashu-data-analytix/analyse_retail_sale_tsql/blob/main/SQL_Retail_Sales_Analyst-P1_.xlsx) (Sales Workbook)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Sales Data"]
  node_workbook[("Sales Workbook")]
end

subgraph group_analysis["Retail Analysis"]
  node_queries["Analysis Queries"]
  node_findings["Business Findings"]
end

node_analyst(("Analyst"))
node_sqlserver["SQL Server"]

node_workbook -.->|"supplies data"| node_queries
node_analyst -->|"analyzes with"| node_queries
node_queries -->|"runs on"| node_sqlserver
node_queries -->|"reveals"| node_findings

click node_workbook "https://github.com/ashu-data-analytix/analyse_retail_sale_tsql/blob/main/SQL_Retail_Sales_Analyst-P1_.xlsx"
click node_queries "https://github.com/ashu-data-analytix/analyse_retail_sale_tsql/blob/main/SQL_RetailSales_Queries_P1.sql"
click node_findings "https://github.com/ashu-data-analytix/analyse_retail_sale_tsql/blob/main/SQL_RetailSales_Queries_P1.sql"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_workbook toneBlue
class node_queries,node_findings toneAmber
class node_analyst toneIndigo
class node_sqlserver toneMint
```

## Components

### Sales Data

- [Sales Workbook](https://github.com/ashu-data-analytix/analyse_retail_sale_tsql/blob/main/SQL_Retail_Sales_Analyst-P1_.xlsx): `SQL_Retail_Sales_Analyst-P1_.xlsx`

### Retail Analysis

- [Analysis Queries](https://github.com/ashu-data-analytix/analyse_retail_sale_tsql/blob/main/SQL_RetailSales_Queries_P1.sql): `SQL_RetailSales_Queries_P1.sql`
- [Business Findings](https://github.com/ashu-data-analytix/analyse_retail_sale_tsql/blob/main/SQL_RetailSales_Queries_P1.sql): `SQL_RetailSales_Queries_P1.sql`

### Other components

- **Analyst**
- **SQL Server**

## Connections

- Sales Workbook → Analysis Queries: supplies data
- Analyst → Analysis Queries: analyzes with (evidence: `README.md`)
- Analysis Queries → SQL Server: runs on (evidence: `README.md`)
- Analysis Queries → Business Findings: reveals (evidence: `README.md`)
