Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Window Functions/Chapter6/Bug hunt/Hint.txt
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
Correct me if I am worng, but my thoughts are following:

The bug lies down when try to get the is_first_queter in case `GROUP BY species`.
In this case, we want to get the querter_start date for each specie, thus there should be
a `PARTITION BY species` after `LAG(quarter_start`