SHOW TAGS
Lists tag definitions in the current tenant. You can also query tag definitions through the system.tags table.
See also: CREATE TAG, DROP TAG.
Syntax
SHOW TAGS [ LIKE '<pattern>' | WHERE <expr> ] [ LIMIT <n> ]
Output Columns
Examples
Show all tags:
SHOW TAGS;
Filter tags by name pattern:
SHOW TAGS LIKE 'env%';
Filter with a WHERE condition:
SHOW TAGS WHERE comment IS NOT NULL;
Limit results:
SHOW TAGS LIMIT 5;
Equivalent query using the system table:
SELECT * FROM system.tags;