Created
December 8, 2021 16:19
-
-
Save buckmaxwell/2c4cef11fe5294277823b97677b8925b to your computer and use it in GitHub Desktop.
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
SELECT | |
l | |
FROM ( | |
SELECT | |
jsonb_agg(score ORDER BY added_at) l | |
FROM | |
sitter_jobscorehistory | |
GROUP BY | |
ongoing_request_id) tab1 | |
WHERE | |
jsonb_array_length(l) > 1; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment