47 lines
2.8 KiB
Markdown
47 lines
2.8 KiB
Markdown
# Query SP Util Selection C1
|
|
Analysis generated on: 4/2/2025 10:08:20 AM
|
|
---
|
|
## SQL Statement
|
|
```sql
|
|
SELECT [Util Selection C1].PartNumber, [Util Selection C1].DESCP, [Util Selection C1].MetalType, [Util Selection C1].CutType, [Util Selection C1].CalculationStatus, [Util Selection C1].USAGE, [Util Selection C1].BestSheetSet, [Util Selection C1].GrossWt, [Util Selection C1].ActualWt, [Util Selection C1].Utilization, [ActualWt]/[USAGE] AS [AW/Part], [GrossWt]/[USAGE] AS [GW/Part], [ActualWt]/[GrossWt] AS [Util/Part]
|
|
FROM [Util Selection C1];
|
|
|
|
```
|
|
## Dependencies
|
|
- *None*
|
|
## Parameters
|
|
- *None*
|
|
## What it does
|
|
**SQL Query Description**
|
|
==========================
|
|
|
|
This SQL query retrieves data from a table named `[Util Selection C1]`. The query selects specific columns and calculates additional values to provide insights into the utilization and performance of parts.
|
|
|
|
### Selected Columns
|
|
|
|
The query selects the following columns:
|
|
|
|
* `PartNumber`: A unique identifier for each part.
|
|
* `DESCP`: A descriptive column containing a short description or code for each part.
|
|
* `MetalType` and `CutType`: Columns representing the type of metal used in the fabrication process and the cutting technique employed, respectively.
|
|
* `CalculationStatus`, `USAGE`, and `BestSheetSet`: Columns indicating the status of calculations performed on the parts, the intended usage of each part, and the recommended sheet set to use for production, respectively.
|
|
* `GrossWt` and `ActualWt`: Columns containing the total weight of raw materials used in producing a batch of parts (gross weight) and the actual weight achieved during processing (actual weight), respectively.
|
|
* `Utilization`: A column displaying the percentage utilization of each part based on its intended usage.
|
|
|
|
### Calculated Columns
|
|
|
|
The query calculates three additional columns:
|
|
|
|
* `[AW/Part]`: The actual weight (`ActualWt`) divided by the intended usage (`USAGE`), providing a ratio that represents the efficiency or effectiveness of each part's intended use.
|
|
* `[GW/Part]`: The gross weight (`GrossWt`) divided by the intended usage (`USAGE`), offering insight into how much raw material is being utilized in producing each batch of parts.
|
|
* `[Util/Part]`: The actual weight (`ActualWt`) divided by the gross weight (`GrossWt`), providing a measure of the part's overall utilization efficiency.
|
|
|
|
### Data Source
|
|
|
|
The query specifically targets the `Util Selection C1` table, which presumably contains data on parts produced during a manufacturing process.
|
|
|
|
**Resulting Output**
|
|
--------------------
|
|
|
|
The resulting output will be a list of rows, each containing the selected columns and calculated values for a single part. The output can be used to analyze and optimize production processes, identify areas for improvement in material utilization, and make informed decisions about resource allocation.
|