---
schema_version: "1"
id: 1a5b9641914fb7b8a0b1b8188fa62447add0b40922e8714f5cabe588f0b6c2f5
title: Querying Data Extensions
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/mc_dat_data_extension_before_begin.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.mc_dat_data_extension_before_begin.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 92de3f2209c53f6618dc532a7c2914df9c5224b5cbcb432bb9d807a7cc511b50
description: You can create queries with your engagement data and data extension data all in one place.
products:
  - Marketing
  - Marketing Cloud Intelligence
release: "264"
---
# Querying Data Extensions

You can create queries with your engagement data and data extension data all in one place.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Available in: Intelligence Reports Advanced</td></tr></tbody></table>

Before you can query data extensions, you first need to connect to data extensions in the Setup tab. For more information, see [Connect to a Data Extension](https://help.salesforce.com/s/articleView?id=mktg.mc_dat_data_extension_connect.htm&release=264.0.0&type=5 "Connect to a data extension to pull in additional attributes along with your engagement data. You can connect to any data extension that’s in your business unit and is below 50 million rows.")

After you connect a data extension it appears in its own table in the Library. You can then either use SQL or the Query Builder to query the data.

- **[Create a Query with a Data Extension](https://help.salesforce.com/s/articleView?id=mktg.mc_dat_data_extension_query.htm&release=264.0.0&type=5)**  
    Create a query with data extensions to view your engagement data with your data extension data. For example, view total clicks per region.