# sudeep2766/mysql architecture

> Architecture diagram of the GitHub repository sudeep2766/mysql, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sudeep2766/mysql
- Repository: https://github.com/sudeep2766/mysql

## Overview

This repository is a collection of SQL examples and database scripts, not an application with a documented runtime workflow. The tree suggests schema/sample-data files, basic query exercises, relational queries, and advanced SQL topics. With no README or source excerpts, relationships between scripts and any execution order cannot be verified, so the graph shows the files as independent components and does not infer dependencies.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_datasets["Schemas and data"]
  node_student["Student SQL<br/>[Student.sql]"]
  node_company["Company database<br/>[CompanyDB.sql]"]
  node_movies["Movie database<br/>[movie.sql]"]
  node_sailors["Sailor database<br/>[Sailors.sql]"]
  node_world["World database<br/>[world.sql]"]
end

subgraph group_basics["Basic queries"]
  node_basicqueries["Basic queries<br/>[BasicQueries.sql]"]
  node_morebasic["More basic queries"]
  node_updates["Updates and deletes<br/>[Update&amp;Delete.sql]"]
end

subgraph group_relational["Relational queries"]
  node_joins["Joins<br/>[Joins.sql]"]
  node_nested["Nested queries<br/>[NestedQueries.sql]"]
  node_union["Unions<br/>[Union.sql]"]
  node_wildcards["Wildcards<br/>[Wildcards.sql]"]
end

subgraph group_advanced["Advanced SQL"]
  node_aggregates["Aggregate functions"]
  node_constraints["Constraints<br/>[Constraints.sql]"]
  node_triggers["Triggers<br/>[Triggers.sql]"]
  node_exam["Exam SQL<br/>[EXAM.sql]"]
  node_constraintnotes["Constraint notes<br/>[constraints.txt]"]
  node_datatype_notes["Datatype notes<br/>[datatypes.txt]"]
end

click node_student "https://github.com/sudeep2766/mysql/blob/main/Basic/Student.sql"
click node_company "https://github.com/sudeep2766/mysql/blob/main/CompanyDB.sql"
click node_movies "https://github.com/sudeep2766/mysql/blob/main/MovieDB/movie.sql"
click node_sailors "https://github.com/sudeep2766/mysql/blob/main/SailorDB/Sailors.sql"
click node_world "https://github.com/sudeep2766/mysql/blob/main/WorldDB/world.sql"
click node_basicqueries "https://github.com/sudeep2766/mysql/blob/main/Basic/BasicQueries.sql"
click node_morebasic "https://github.com/sudeep2766/mysql/blob/main/MoreBasicQueries.sql"
click node_updates "https://github.com/sudeep2766/mysql/blob/main/Basic/Update%26Delete.sql"
click node_joins "https://github.com/sudeep2766/mysql/blob/main/Joins.sql"
click node_nested "https://github.com/sudeep2766/mysql/blob/main/NestedQueries.sql"
click node_union "https://github.com/sudeep2766/mysql/blob/main/Union.sql"
click node_wildcards "https://github.com/sudeep2766/mysql/blob/main/Wildcards.sql"
click node_aggregates "https://github.com/sudeep2766/mysql/blob/main/AggregateFunctions/Aggregate_funcs.sql"
click node_constraints "https://github.com/sudeep2766/mysql/blob/main/Constraints.sql"
click node_triggers "https://github.com/sudeep2766/mysql/blob/main/Triggers.sql"
click node_exam "https://github.com/sudeep2766/mysql/blob/main/EXAM.sql"
click node_constraintnotes "https://github.com/sudeep2766/mysql/blob/main/constraints.txt"
click node_datatype_notes "https://github.com/sudeep2766/mysql/blob/main/datatypes.txt"

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_student,node_company,node_movies,node_sailors,node_world toneBlue
class node_basicqueries,node_morebasic,node_updates toneAmber
class node_joins,node_nested,node_union,node_wildcards toneMint
class node_aggregates,node_constraints,node_triggers,node_exam,node_constraintnotes,node_datatype_notes toneRose
```

## Components

### Schemas and data

- [Student SQL](https://github.com/sudeep2766/mysql/blob/main/Basic/Student.sql): `Basic/Student.sql`
- [Company database](https://github.com/sudeep2766/mysql/blob/main/CompanyDB.sql): `CompanyDB.sql`
- [Movie database](https://github.com/sudeep2766/mysql/blob/main/MovieDB/movie.sql): `MovieDB/movie.sql`
- [Sailor database](https://github.com/sudeep2766/mysql/blob/main/SailorDB/Sailors.sql): `SailorDB/Sailors.sql`
- [World database](https://github.com/sudeep2766/mysql/blob/main/WorldDB/world.sql): `WorldDB/world.sql`

### Basic queries

- [Basic queries](https://github.com/sudeep2766/mysql/blob/main/Basic/BasicQueries.sql): `Basic/BasicQueries.sql`
- [More basic queries](https://github.com/sudeep2766/mysql/blob/main/MoreBasicQueries.sql): `MoreBasicQueries.sql`
- [Updates and deletes](https://github.com/sudeep2766/mysql/blob/main/Basic/Update%26Delete.sql): `Basic/Update&Delete.sql`

### Relational queries

- [Joins](https://github.com/sudeep2766/mysql/blob/main/Joins.sql): `Joins.sql`
- [Nested queries](https://github.com/sudeep2766/mysql/blob/main/NestedQueries.sql): `NestedQueries.sql`
- [Unions](https://github.com/sudeep2766/mysql/blob/main/Union.sql): `Union.sql`
- [Wildcards](https://github.com/sudeep2766/mysql/blob/main/Wildcards.sql): `Wildcards.sql`

### Advanced SQL

- [Aggregate functions](https://github.com/sudeep2766/mysql/blob/main/AggregateFunctions/Aggregate_funcs.sql): `AggregateFunctions/Aggregate_funcs.sql`
- [Constraints](https://github.com/sudeep2766/mysql/blob/main/Constraints.sql): `Constraints.sql`
- [Triggers](https://github.com/sudeep2766/mysql/blob/main/Triggers.sql): `Triggers.sql`
- [Exam SQL](https://github.com/sudeep2766/mysql/blob/main/EXAM.sql): `EXAM.sql`
- [Constraint notes](https://github.com/sudeep2766/mysql/blob/main/constraints.txt): `constraints.txt`
- [Datatype notes](https://github.com/sudeep2766/mysql/blob/main/datatypes.txt): `datatypes.txt`
