Amazon Athena is an interactive query service that makes it easy to analyze data in Amazon S3 using standard SQL. Athena is serverless, so there is no infrastructure to setup or manage, and you can start analyzing data immediately. You don’t even need to load your data into Athena, it works directly with data stored in S3.
Amazon Athena automatically stores query results and metadata information for each query that runs in a query result location that you can specify in Amazon S3. If necessary, you can access the files in this location to work with them. You can also download query result files directly from the Athena console.
Go to Athena console. Click Launch query editor.
On the top menu, click Workgroup: primary.
Choose Settings, click on Browse S3 and select s3://serverlessanalytics-[your-account-id]-athena as the value for the Location of query result - optional field.
Go to the bottom of the page, click Save.
Go to the top menu, click on Editor to return back to the Query editor page.