Skip to content

Commit f346ecf

Browse files
Update and rename 12 Double Or Add 1 While Loop.sql to 12 Double Or Add 1 Recursion.sql
1 parent 86542e5 commit f346ecf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Permutations, Combinations, Sequences and Random Numbers/SQL Scripts/12 Double Or Add 1 While Loop.sql renamed to Permutations, Combinations, Sequences and Random Numbers/SQL Scripts/12 Double Or Add 1 Recursion.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,5 @@ FROM cte_Recursion cte
6868
)
6969
SELECT *
7070
FROM cte_Recursion
71-
WHERE RunningSum = 100
72-
ORDER BY Number;
71+
WHERE RunningSum <= 100
72+
ORDER BY Number DESC;

0 commit comments

Comments
 (0)