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
fileserver_backend: | |
- git | |
- roots | |
gitfs_remotes: | |
- file:///srv/salt-states.git | |
file_roots: | |
base: | |
- /srv/formulas/postgres-formula |
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
SQL: | |
WITH mt_to_clean AS ( | |
SELECT mt.key | |
FROM | |
master_table AS mt | |
LEFT JOIN secondary_table_1 AS position | |
ON mt.key = position.mt_key | |
LEFT JOIN secondary_table_2 AS bvd_copy | |
ON mt.key = bvd_copy.mt_key |