---
updatedAt: 2025-05-14T20:37:20.000Z
agentTools:
  projectIndex: https://docs.chaossearch.io/llms.txt
---

# SHOW COLUMNS

Display the columns in a ChaosSearch view.

Use the `SHOW COLUMNS` command to list the columns in a Refinery view including their data type and other attributes.

## Synopsis

```sql
SHOW COLUMNS FROM [schema.]table [LIKE pattern]
```

Specify a pattern in the optional LIKE clause to filter the results to the desired subset. For example, the following query allows you to find columns ending in `key`:

## Examples

<Image align="center" src="https://files.readme.io/fb64358-sql_show_columns_v3.jpg" />