diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-10-09 06:28:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-10-09 06:28:52 +0000 |
commit | a8cfe41f416430cab0d6aa0ff6a688b2832a39aa (patch) | |
tree | dd48a1d853317a0daaaf3e2f6868e01dbad936e7 /tests/fixtures/pretty.sql | |
parent | Releasing debian version 25.24.0-1. (diff) | |
download | sqlglot-a8cfe41f416430cab0d6aa0ff6a688b2832a39aa.tar.xz sqlglot-a8cfe41f416430cab0d6aa0ff6a688b2832a39aa.zip |
Merging upstream version 25.24.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/fixtures/pretty.sql')
-rw-r--r-- | tests/fixtures/pretty.sql | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/fixtures/pretty.sql b/tests/fixtures/pretty.sql index 3e5619a..ca5e4a9 100644 --- a/tests/fixtures/pretty.sql +++ b/tests/fixtures/pretty.sql @@ -418,3 +418,34 @@ INSERT FIRST SELECT salary FROM employees; + +SELECT * +FROM foo +wHERE 1=1 + AND + -- my comment + EXISTS ( + SELECT 1 + FROM bar + ); +SELECT + * +FROM foo +WHERE + 1 = 1 AND EXISTS( + SELECT + 1 + FROM bar + ) /* my comment */; + +SELECT 1 +FROM foo +WHERE 1=1 +AND -- first comment + -- second comment + foo.a = 1; +SELECT + 1 +FROM foo +WHERE + 1 = 1 AND /* first comment */ foo.a /* second comment */ = 1; |