Skip to content

Commit

Permalink
docs: Include FROM clauses in WITH examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Zane Shelby authored and zane committed Jan 24, 2024
1 parent 806bb8c commit 4f353ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
----
====
Original file line number Diff line number Diff line change
Expand Up @@ -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
----
====

0 comments on commit 4f353ec

Please sign in to comment.