# Empower the SQL helper

**URL:** https://meta.discourse.org/t/empower-the-sql-helper/366949
**Category:** Feature
**Tags:** data-explorer, completed, ai, ai-bot
**Created:** [May 21, 2025, 2:11am UTC](https://meta.discourse.org/t/empower-the-sql-helper/366949 "2025-05-21T02:11:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [May 21, 2025, 2:11am UTC](https://meta.discourse.org/t/empower-the-sql-helper/366949/1 "2025-05-21T02:11:38Z")

</div>

Continuing the discussion from [Creating custom AI Bot personas](https://meta.discourse.org/t/creating-custom-ai-bot-personas/277961/5):

> [@Creating custom AI Bot personas](https://meta.discourse.org/t/creating-custom-ai-bot-personas/277961/5):
>
> **SQL Helper** : AI Bot specialized in helping craft SQL queries on this Discourse Instance (aware of your current DB schema)
> 
> - i.e - Write me a query to find all the AI bot messages by a specific customer/user

It would be super helpful to have this bot enabled to actually open [Data Explorer](https://meta.discourse.org/t/32566?silent=true) and run the query it suggests.

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [July 23, 2026, 2:43am UTC](https://meta.discourse.org/t/empower-the-sql-helper/366949/2 "2026-07-23T02:43:01Z")

</div>

It looks like my wish has come true!

> [@Data Explorer handshake AI - Generate Data Explorer queries with AI](https://meta.discourse.org/t/data-explorer-ai-generate-data-explorer-queries-with-ai/408227):
>
> After some testing and refinements for [Data Explorer](https://meta.discourse.org/t/32566?silent=true), we are now happy to share that you can make use of Discourse AI to generate [Data Explorer](https://meta.discourse.org/t/32566?silent=true) queries from right within the plugin. Here’s a quick run through video_cameraThe option to write manually, or use AI For the folks who prefer it, we’ve kept the ability to let you write your own SQL. On the /new and /edit pages, this should be available at the top right of the page for you to choose any time.

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [July 30, 2026, 3:43am UTC](https://meta.discourse.org/t/empower-the-sql-helper/366949/5 "2026-07-30T03:43:24Z")

</div>

This topic was automatically closed after 7 days. New replies are no longer allowed.
