-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #149 from tosh2230/string-template
Supports string.Template
- Loading branch information
Showing
6 changed files
with
340 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
WITH c AS ( | ||
SELECT | ||
test_id, | ||
col_c | ||
FROM | ||
$sub_table_01 | ||
WHERE | ||
0 = 0 | ||
), | ||
d AS ( | ||
SELECT | ||
test_id, | ||
col_d | ||
FROM | ||
${sub_table_02} | ||
WHERE | ||
0 = 0 | ||
), | ||
e AS ( | ||
SELECT | ||
test_id, | ||
col_d | ||
FROM | ||
$sub_table_02 | ||
WHERE | ||
0 = 0 | ||
) | ||
|
||
SELECT | ||
* | ||
FROM | ||
${main_table} AS b | ||
INNER JOIN c | ||
ON b.test_id = c.test_id | ||
INNER JOIN d | ||
ON b.test_id = d.test_id | ||
WHERE | ||
1 = 1 |
Oops, something went wrong.