Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

SHOW VIEWS

Focus mode

On this page

SHOW VIEWS - Amazon Athena

Lists the Athena or Data Catalog views in a list of STRING type values. Each value in the list is the name of a view in the specified database, or in the current database if you omit the database name. Use the optional LIKE clause with a regular expression to restrict the list of view names. For Data Catalog views, lists only the views that use Athena SQL syntax. Other Data Catalog views are filtered out.

Synopsis

SHOW VIEWS [IN database_name] [LIKE 'regular_expression']

Parameters

[IN database_name]

Specifies the database_name from which views will be listed. If omitted, the database from the current context is assumed.

[LIKE 'regular_expression']

Filters the list of views to those that match the regular_expression you specify. Only the wild card character *, which indicates any character, or |, which indicates a choice between characters, can be used.

Examples

SHOW VIEWS
SHOW VIEWS IN marketing_analytics LIKE 'orders*'

See also SHOW COLUMNS, SHOW CREATE VIEW, DESCRIBE VIEW, and DROP VIEW.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.