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.”

Querying Worldwide Event Attendance (Test Product) data on Amazon Redshift (SQL)

Focus mode
Querying Worldwide Event Attendance (Test Product) data on Amazon Redshift (SQL) - AWS Data Exchange User Guide

The following procedure shows how to set up and query the datashare using the SQL commands.

To query Worldwide Event Attendance (Test Product) data on Amazon Redshift (SQL)
  1. To find the datashare, run the following command.

    SHOW DATASHARES [ LIKE 'namepattern' ]

    This command lists all datashares, including the one from Worldwide Event Attendance (Test Product), in addition to the provider's account_id and namespace. For more information, see Show Datashares in the Amazon Redshift Database Developer Guide.

  2. Run the following command to create a database from the datashare.

    CREATE DATABASE database_name

    FROM DATASHARE datashare_name OF ACCOUNT account_id NAMESPACE namespace_guid

    For more information, see Create Database in the Amazon Redshift Database Developer Guide.

  3. Run the following SQL query.

    select * from database.schema.table

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