HUGE fan of MLB and WFTDA, and pretty much not interested in any other sport.
he/him by default but will happily answer to anything.
A cheeseburger in paradise. #IYKYK
i hate SQL xD
i hate SQL xD
www.seas.upenn.edu/~zives/03f/c...
#sql
www.seas.upenn.edu/~zives/03f/c...
#sql
Catch the stream tomorrow at 12:30PM ET:
www.youtube.com/watch?v=jKah...
postgres users: i beg your fucking pardon
postgres users: i beg your fucking pardon
Where
LAG - previous
LEAD - next
By default these look one row forward/back
Use the second parameter to get the value from N rows before/after the current
Where
LAG - previous
LEAD - next
By default these look one row forward/back
Use the second parameter to get the value from N rows before/after the current
ROW_NUMBER => Consecutive integers starting at one
RANK => Rows with the same sort value have the same number; the next row after ties has the same value as ROW_NUMBER
DENSE_RANK => Like RANK, but numbers are consecutive after ties
ROW_NUMBER => Consecutive integers starting at one
RANK => Rows with the same sort value have the same number; the next row after ties has the same value as ROW_NUMBER
DENSE_RANK => Like RANK, but numbers are consecutive after ties