---
title: Query Service
slug: poc-mmt-cja/query-service
docTags: 
createdAt: 2025-07-05T01:38:56.014Z
---

In this exercise you'll learn how to use Query Service to run SQL queries on the ingested datasets, this can be helpful for debugging purposes.  &#x20;

In Adobe Experience Platform, Navigate to **Data Management -> Queries&#x20;**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/4mERZO_CWB_tAdhDEORbR_image.png)

We've created some saved query templates to get you started, click to open the **Templates&#x20;**&#x74;ab.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/KSTftfwbQNWZ-aW8LPK5J_image.png)

Click to open the **Stitched B2C Scenario Query**.   The query has been defined to read from the stitched B2C dataset and retrieve records for a particular POC Scenario and Test iteration using query parameters.   &#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/pGf3HKQf6gtD7tHDWeevJ_image.png)

Update the **Query Parameters** for the test you want to query, then click the **play** icon to run the query.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/jSN4phch5tg5xS7JRTDbC_image.png)

You can view the results directly in the UI or download them for further analysis.&#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/nZbTdYIMne9oIul1ANrMR_image.png)

