explainx.ainewsletter3.5k
trendingpathwaysworkshopsskills
pricing
workshops ↗
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

custom AI agents

[email protected]

get started

Join · $29/mo

learn

pathways — start freeworkshopsbootcampscoursescertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serverstoolsagentsllmsdesignsagi trackerranks

company

aboutvisionmissionteaminstructorscommunityhackathonscareers

content

daily AI newsblogreleasespromptsgeneratorsresource librarydemofor LLMs

Sister Products

Infloq

Infloq

Influencer marketing

BgBlur

BgBlur

Privacy-first blur

Olly Social

Olly Social

Social AI copilot

Ceptory

Ceptory

Video intelligence

BgRemover

BgRemover

Background removal

newsletter · weekly

Get AI news, tools, and insights in your inbox.

contactsupportprivacytermsdata rightssubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

Home/Templates/text/analysis/sql-cohort-exploration-draft
textanalysisintermediate

SQL cohort exploration draft

CTEs for retention scaffold—tune windows and placeholder table names.

Model: Claude Sonnet 4.6Est. tokens: 450

Prompt Generator

Generate Your Prompt

Fill in the fields below to generate an optimized prompt based on best practices

Examples

Draft

Input Variables
dialect:bigquery
business_question:30-day retention of workspace cohorts activating MCP integrations
event_grains:workspace_created, integration_enabled, retained_active_daily
allowed_tables_placeholder:dim_workspace, fact_activity_daily — or UNKNOWN (use TODO stubs)
kpi_sentence:rolling 7-day activation rate vs baseline signup week

Frequently Asked Questions

Best Practices

Critical Best Practices

Lead with role and scope

critical

Say who you are, who the reader is, and what artifact you want in one dense block.

Source: claude

Recommended Best Practices

Spell out constraints

recommended

Length, tone bans, jargon limits, formatting, and what not to hallucinate.

Source: claude

Related Templates

Python Data Analysis Script
text / coding

Keywords

sql cohort analysis promptretention sql ai