-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2564214
commit 3bb0731
Showing
5 changed files
with
1,054 additions
and
285 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Get 10 Largest Earthquakes | ||
|
||
# expression | ||
array_contains(array_slice(array_reverse(array_sort(array_agg(expression:="Total Deaths", order_by:="Total Deaths", filter:="Total Deaths" is not NULL))), 0, 9), "Total Deaths") | ||
|
||
# SQL | ||
SELECT * from input1 ORDER BY "Total Deaths" DESC LIMIT 10 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.