Created
December 12, 2023 06:41
-
-
Save sqlparser/cfa2d028c8fc48554306f2a19e47345e to your computer and use it in GitHub Desktop.
Amazon Athena Sample SQL
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
```sql | |
SELECT DISTINCT regexp_extract("$path", '[^/]+$') AS data_source_file | |
FROM sampledb.elb_logs | |
ORDER By data_source_file ASC | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment