From 4f353ec70531f21c09b21a0475f854fcfba40435 Mon Sep 17 00:00:00 2001 From: Zane Shelby Date: Mon, 11 Dec 2023 17:53:58 -0500 Subject: [PATCH] docs: Include FROM clauses in WITH examples --- .../modules/ROOT/partials/permissive/table-expressions/with.adoc | 1 + docs/modules/ROOT/partials/strict/table-expressions/with.adoc | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/modules/ROOT/partials/permissive/table-expressions/with.adoc b/docs/modules/ROOT/partials/permissive/table-expressions/with.adoc index 3ea95ea..a89fda3 100644 --- a/docs/modules/ROOT/partials/permissive/table-expressions/with.adoc +++ b/docs/modules/ROOT/partials/permissive/table-expressions/with.adoc @@ -8,5 +8,6 @@ The `+WITH+` keyword allows you to bind names to values for the lifetime of a qu ---- WITH (satellites_model GIVEN Users = "Military") AS military_model: SELECT PROBABILITY OF Apogee_km UNDER military_model + FROM satellites ---- ==== diff --git a/docs/modules/ROOT/partials/strict/table-expressions/with.adoc b/docs/modules/ROOT/partials/strict/table-expressions/with.adoc index f857ee8..9bd6877 100644 --- a/docs/modules/ROOT/partials/strict/table-expressions/with.adoc +++ b/docs/modules/ROOT/partials/strict/table-expressions/with.adoc @@ -8,5 +8,6 @@ The `+WITH+` keyword allows you to bind names to values for the lifetime of a qu ---- WITH (satellites_model CONDITIONED BY VAR Users = "Military") AS military_model: SELECT PROBABILITY OF VAR Apogee_km > Apogee_km UNDER military_model + FROM satellites ---- ====