# sql-fingerprint
[](https://github.com/adamchainz/sql-fingerprint/actions?workflow=CI)
[](https://crates.io/crates/sql-fingerprint)
[](https://github.com/pre-commit/pre-commit)
A SQL fingerprinter.
Given a query like:
```sql
SELECT name, age /* computed */ FROM cheeses WHERE origin = 'France'
```
…it will output a fingerprint like:
```sql
SELECT ... FROM cheeses WHERE ...
```
---
**Improve your Django and Git skills** with [my books](https://adamj.eu/books/).
---
TODO