MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnSQL/comments/q3rrhk/sql_cheatsheet_basics/hfysruj/?context=3
r/learnSQL • u/[deleted] • Oct 08 '21
22 comments sorted by
View all comments
5
Hi and thank you for your cheat sheet. Could you maby add window functions to the section of execution order?
2 u/chadbaldwin Oct 08 '21 This, I think "DISTINCT" may also be useful to throw in there.I see people mix up the order of DISTINCT TOP(N) ROW_NUMBER() OVER... all the time. 1 u/[deleted] Oct 09 '21 Yes I'll try add it in at some point :)
2
This, I think "DISTINCT" may also be useful to throw in there.
I see people mix up the order of DISTINCT TOP(N) ROW_NUMBER() OVER... all the time.
DISTINCT TOP(N) ROW_NUMBER() OVER...
1 u/[deleted] Oct 09 '21 Yes I'll try add it in at some point :)
1
Yes I'll try add it in at some point :)
5
u/hshighnz Oct 08 '21 edited Oct 09 '21
Hi and thank you for your cheat sheet. Could you maby add window functions to the section of execution order?