Created
November 24, 2021 17:47
-
-
Save Mr--John-Doe/7a76962e3fbba4aa40dc0f7b85e76c50 to your computer and use it in GitHub Desktop.
How To Do For Loops in SQL - 2
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
INSERT INTO result | |
SELECT p_date, ... | |
FROM ... JOIN ... | |
INNER JOIN DATE_LIST | |
ON dt between trunc('month', p_date) and p_date |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment