Example 1
Join three ordered key parts with hyphens
This is the lightweight version of slug or key building: preserve the order of the text fragments, then join them with the separator you want in the final key.
Validated query Shared across supported engines.
SQL
SELECT
CONCAT ('structure', '-', 'outlives', '-', 'query') AS retained_key;Expected result Returned rows for the shared example.
| retained_key |
|---|
| structure-outlives-query |
The fragments are joined left to right with one hyphen between each value.