63 lines
1.8 KiB
Markdown
63 lines
1.8 KiB
Markdown
# Comparison from C1 Table
|
|
Analysis generated on: 4/2/2025 9:58:23 AM
|
|
---
|
|
## SQL Statement
|
|
```sql
|
|
SELECT [Util Selection C1].PartNumber, [Util Selection C1].DESCP, [Util Selection C1].SheetSize, [Util Selection C1].ActualWt, [Util Selection C1].GrossWt, [Util Selection C1].Utilization, [Util Selection C1].USAGE
|
|
FROM [Util Selection C1]
|
|
ORDER BY [Util Selection C1].USAGE DESC;
|
|
|
|
```
|
|
## Dependencies
|
|
- *None*
|
|
## Parameters
|
|
- *None*
|
|
## What it does
|
|
**SQL Query Description**
|
|
====================================
|
|
|
|
### Overview
|
|
|
|
This SQL query retrieves data from a table named `Util Selection C1` and orders the results by the `USAGE` column in descending order.
|
|
|
|
### Column Selection
|
|
|
|
The query selects specific columns from the `Util Selection C1` table, including:
|
|
|
|
* `[Util Selection C1].PartNumber`
|
|
* `[Util Selection C1].DESCP`
|
|
* `[Util Selection C1].SheetSize`
|
|
* `[Util Selection C1].ActualWt`
|
|
* `[Util Selection C1].GrossWt`
|
|
* `[Util Selection C1].Utilization`
|
|
* `[Util Selection C1].USAGE`
|
|
|
|
### Sorting
|
|
|
|
The query orders the results by the `USAGE` column in descending order, meaning that the rows with the highest `USAGE` values will be displayed first.
|
|
|
|
### Table Reference
|
|
|
|
The query references a table named `Util Selection C1`, which is assumed to exist and contain the selected columns.
|
|
|
|
### SQL Syntax
|
|
|
|
```sql
|
|
SELECT
|
|
[Util Selection C1].PartNumber,
|
|
[Util Selection C1].DESCP,
|
|
[Util Selection C1].SheetSize,
|
|
[Util Selection C1].ActualWt,
|
|
[Util Selection C1].GrossWt,
|
|
[Util Selection C1].Utilization,
|
|
[Util Selection C1].USAGE
|
|
FROM
|
|
[Util Selection C1]
|
|
ORDER BY
|
|
[Util Selection C1].USAGE DESC;
|
|
```
|
|
|
|
### Example Use Case
|
|
|
|
This query could be used to analyze usage patterns of different parts in a manufacturing process, identifying the most heavily used items and their associated characteristics.
|