Created
January 24, 2020 17:09
-
-
Save toddlipcon/7723a92684124a212d8d06839b915a84 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 * from foo | |
name: foo | |
time f1 tag1 tag2 | |
---- -- ---- ---- | |
1579885717128019698 100 v1 v2 | |
1579885727536934291 200 v1 | |
> select max(f1) from foo group by tag2 | |
name: foo | |
tags: tag2= | |
time max | |
---- --- | |
1579885727536934291 200 | |
name: foo | |
tags: tag2=v2 | |
time max | |
---- --- | |
1579885717128019698 100 | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment