> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-fbfa8bee.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> System table containing licenses of third-party libraries that are located in the contrib directory of ClickHouse sources.

# system.licenses

<h2 id="description">
  Description
</h2>

Contains licenses of third-party libraries that are located in the [contrib](https://github.com/ClickHouse/ClickHouse/tree/master/contrib) directory of ClickHouse sources.

<h2 id="columns">
  Columns
</h2>

* `library_name` ([String](/reference/data-types/index)) — Name of the library.
* `license_type` ([String](/reference/data-types/index)) — License type — e.g. Apache, MIT.
* `license_path` ([String](/reference/data-types/index)) — Path to the file with the license text.
* `license_text` ([String](/reference/data-types/index)) — License text.

<h2 id="example">
  Example
</h2>

```sql theme={null}
SELECT library_name, license_type, license_path FROM system.licenses LIMIT 15
```

```text theme={null}
┌─library_name───────┬─license_type─┬─license_path────────────────────────┐
│ aws-c-common       │ Apache       │ /contrib/aws-c-common/LICENSE       │
│ base64             │ BSD 2-clause │ /contrib/aklomp-base64/LICENSE      │
│ brotli             │ MIT          │ /contrib/brotli/LICENSE             │
│ [...]              │ [...]        │ [...]                               │
└────────────────────┴──────────────┴─────────────────────────────────────┘
```
