# Change SQL Queries

Resmo keeps track of changes to resources and you can query them using SQL like regular resources. For example, you want to see your GitHub repositories and you run a query:

`SELECT * FROM github_repo`

When you want to see changes made to your repositories over time, you can run a query like:

{% hint style="info" %}
`SELECT * FROM github_repo_changes`
{% endhint %}

This _\_change_ query is available for all resources like `aws_s3_bucket_changes`.

Take a look at [resource-changes](../resources/resource-changes "mention") documentation to learn more about the fields returned.

Sample query from the managed Resmo queries:

![](https://709615783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYrzxpMpCQh51K4O99y0o%2Fuploads%2F6DMoSEJykubiXwwTMx4m%2FScreen%20Shot%202022-05-25%20at%2021.16.31.png?alt=media\&token=7fa769e4-c1ac-4b5b-973d-5082e6780ff4)

