---
title: "Insights: Write Your Own SQL"
url: "https://atlan.com/demos/write-your-own-sql/"
excerpt: "Explore how to create new insights queries in a hands-on demo, featuring autocomplete for faster, more accurate results."
description: "Explore how to create new insights queries in a hands-on demo, featuring autocomplete for faster, more accurate results."
format: "Arcade"
demo_url: "https://demo.arcade.software/XEZ2pFlCEgVEuRmlb9ol"
thumbnail: "https://images.ctfassets.net/nwa1c00rtgxb/3h07pMhMYri2j0lcbuqmWZ/08d58f2ba0af5bf9656f0ae208df52f4/insights-write-your-own-sql.webp"
content_purpose: ["Product Overview"]
target_persona: ["General", "Data Analyst", "Business User"]
journey_stage: ["S2 - Discovery", "C1 - Onboarding", "C4 - Expansion"]
use_case_context: ["Training"]
product: ["Data Marketplace - Data Exploration"]
published: "2025-10-01"
updated: "2026-06-02"
content_type: "interactive demo step summary"
transcript_source: "arcade-steps"
---

> Atlan is hosting Context Conference, bringing together the leaders and builders at the frontier of giving AI the context it needs to understand their business. It runs online on October 28, 2026, from 11:00 AM to 2:00 PM ET. Atlan co-founder Prukalpa Sankar opens and closes the day. Leaders from AstraZeneca, BNY and Verizon share why they invest in context and what they get from it. Registrants get early access to The AI Context Gap, a new study from MIT Technology Review Insights. Register: https://atlan.com/context-conference/

# Insights: Write Your Own SQL

Step-by-step summary of the interactive demo at https://atlan.com/demos/write-your-own-sql/

Explore how to create new insights queries in a hands-on demo, featuring autocomplete for faster, more accurate results.

## What the demo walks through

1. Begin by navigating to Insights
2. Select the connection you want to query Or search or browse assets in that connection
3. (Optional) Narrow to a specific database - in this example, we'll use the first database
4. (Optional) Narrow to a specific schema - in this example we'll use the top schema
5. Browse the assets within the narrowed selection
6. Hover over an asset to view metadata details
7. (Optional) Open the asset sidebar to view more details about the asset
8. (Optional) Explore more options - for example, set the query editor context or copy the full asset path
9. Click play to run a preview query
10. (Optional) Beautify your code at any time
11. And take advantage of the rich editor and its context-aware code completion
12. For example, knowing all the assets you can use in your query
13. (Optional) Export query results via email or schedule this query
14. Run your query at any time to help iteratively develop it
15. (Optional) Right-click the tab to close the blank query
16. (Optional) Find more actions or customize the query editor
17. For example, turn off autosuggestions for assets in the query editor
