📊
Prompt category

Data Analysis AI prompts

Excel, SQL, data visualization, KPIs and AI-powered reporting. Best for SQL, spreadsheets, dashboards, and KPI reviews, reporting workflows that need clearer logic, summarizing analysis into action-ready recommendations.

335 prompts

335

In this category

All of them

Free to copy

5

Subcategories

3

Difficulty levels

Every prompt below is open. Copy it straight into ChatGPT, Claude, or Gemini.

SQL, spreadsheets, dashboards, and KPI reviewsreporting workflows that need clearer logicsummarizing analysis into action-ready recommendations

Choose the closest workflow

Filter by subcategory and difficulty first. That usually gets you to the right prompt faster than scrolling the full list.

Search the whole library

Filtered prompts

66 prompts match the current filters

Clear filters

Sales analysis queries with CTEs and window functions

Writes advanced SQL queries using CTEs and window functions for sales performance analysis.

IntermediateFree prompt

Best for

Create a set of reusable SQL queries that analyze sales by period, product, seller, and region using CTEs (Common Table Expressions) and window functions for rankings and comparisons.

Copy-ready promptOpen prompt

Database Schema Design for Recurring Subscription Systems

Designs an optimized database schema for a subscription business with SaaS metrics.

AdvancedFree prompt

Best for

Create a complete relational model for a recurring subscription system, including tables, indexes, constraints, and ready-to-use queries for calculating MRR, churn, and LTV.

Copy-ready promptOpen prompt

Slow Query Optimization with EXPLAIN ANALYZE and Indexes

Diagnoses and optimizes slow SQL queries using execution plans, strategic indexes, and query rewriting.

AdvancedFree prompt

Best for

Learn to identify SQL query performance bottlenecks using EXPLAIN ANALYZE, create efficient indexes, and rewrite queries to reduce response time.

Copy-ready promptOpen prompt

Stored Procedures for Automatic Sales Commission Calculation

Creates stored procedures that automate commission calculations with complex tiered rules and bonuses.

AdvancedFree prompt

Best for

Develop SQL stored procedures that calculate sales commissions considering tiered quotas, product mix bonuses, cancellation clawbacks, and team splits.

Copy-ready promptOpen prompt

BigQuery Queries for E-commerce Conversion Funnel and Attribution Analysis

BigQuery queries to analyze conversion funnels, channel attribution, and browsing behavior in e-commerce.

AdvancedFree prompt

Best for

Build conversion funnel analysis queries in BigQuery (Google Analytics 4 export) to identify drop-off points, optimize conversion rates, and attribute revenue to acquisition channels.

Copy-ready promptOpen prompt

User Behavior Funnel Analysis with SQL: From Acquisition to Conversion,

SQL queries to build conversion funnels from raw event data, identifying drop-off points and calculating conversion rates between each step.

IntermediateFree prompt

Best for

Write SQL queries that reconstruct user journey funnels from event-level data, calculate step-by-step conversion rates, and identify the highest-impact drop-off points for optimization.

Copy-ready promptOpen prompt

Data Pipeline Monitoring: Detecting Anomalies in ETL Jobs with SQL,

SQL-based monitoring queries to detect data quality issues, pipeline failures, and anomalies in automated data pipelines before they corrupt downstream reports.

AdvancedFree prompt

Best for

Create a set of SQL monitoring queries that automatically detect data pipeline problems including missing data, schema changes, volume anomalies, and freshness issues.

Copy-ready promptOpen prompt

Geospatial SQL Analysis: Store Cannibalization and Market Coverage,

Geospatial SQL queries to analyze store coverage, detect cannibalization between locations, and identify underserved markets for expansion.

AdvancedFree prompt

Best for

Use geospatial SQL functions to calculate distances between stores, analyze customer catchment areas, detect revenue cannibalization, and recommend optimal new store locations.

Copy-ready promptOpen prompt

Sessionization and User Journey Reconstruction from Raw Web Events,

SQL queries to transform raw pageview events into sessions, reconstruct user journeys, and calculate engagement metrics from event-level web analytics data.

AdvancedFree prompt

Best for

Build SQL-based sessionization logic that groups raw events into meaningful sessions, reconstructs user paths, and calculates engagement metrics typically found in analytics platforms.

Copy-ready promptOpen prompt

Data Extraction for marketing analytics Report

Practical sql prompt to work through Data Extraction for marketing analytics Report with AI — specific steps, not generic advice.

IntermediateFree prompt

Best for

Professional goal: Enhance the sql workflow using AI tools

PostgreSQLMySQLdata
Copy-ready promptOpen prompt

Data Validation Query for inventory management DB

A focused prompt for sql that helps you work through Data Validation Query for inventory management DB faster and more consistently.

AdvancedFree prompt

Best for

Professional goal: Create a comprehensive sql workflow using AI tools

SQLdatabasequeries
Copy-ready promptOpen prompt

SQL View for cohort analysis Reporting

Make SQL view for cohort analysis reporting repeatable: a clear sql prompt with placeholders you fill in.

BeginnerFree prompt

Best for

Professional goal: Create a comprehensive sql process with proven methods

SQLdatabasequeries
Copy-ready promptOpen prompt

SQL Query for A/B testing Analysis

Get a strong first draft for SQL query for A/B testing analysis instead of starting from a blank page — tuned for sql.

IntermediateFree prompt

Best for

Professional goal: Build a scalable sql strategy for better results

PostgreSQLMySQLdata
Copy-ready promptOpen prompt

SQL Query for marketing analytics Analysis

Practical sql prompt to work through SQL Query for marketing analytics Analysis with AI — specific steps, not generic advice.

BeginnerFree prompt

Best for

Professional goal: Streamline the sql framework for efficiency

PostgreSQLMySQLdata
Copy-ready promptOpen prompt

ETL Query for marketing analytics Data Pipeline

Run ETL query for marketing analytics data pipeline with AI: a structured sql prompt you can adapt to your own context.

IntermediateFree prompt

Best for

Professional goal: Enhance the sql workflow using AI tools

PostgreSQLMySQLdata
Copy-ready promptOpen prompt

Stored Procedure for financial reporting Process

A ready-to-use prompt to work through Stored Procedure for financial reporting Process, built for sql work.

IntermediateFree prompt

Best for

Professional goal: Develop an effective sql system for growth

SQLdatabasequeries
Copy-ready promptOpen prompt

SQL View for customer churn Reporting

Turn "SQL View for customer churn Reporting" into a practical, copy-and-run prompt for sql in data analysis.

BeginnerFree prompt

Best for

Professional goal: Design a data-driven sql workflow using AI tools

PostgreSQLMySQLdata
Copy-ready promptOpen prompt

Database Schema for A/B testing App

Run database schema for A/B testing app with AI: a structured sql prompt you can adapt to your own context.

IntermediateFree prompt

Best for

Professional goal: Develop an effective sql framework for efficiency

PostgreSQLMySQLdata
Copy-ready promptOpen prompt

Data Extraction for sales performance Report

A ready-to-use prompt to work through Data Extraction for sales performance Report, built for sql work.

IntermediateFree prompt

Best for

Professional goal: Streamline the sql process with proven methods

PostgreSQLMySQLdata
Copy-ready promptOpen prompt

Database Schema for inventory management App

Use this prompt to handle database schema for inventory management app as a repeatable sql workflow.

IntermediateFree prompt

Best for

Professional goal: Build a scalable sql process with proven methods

PostgreSQLMySQLdata
Copy-ready promptOpen prompt

Stored Procedure for sales performance Process

Use this prompt to handle stored procedure for sales performance process as a repeatable sql workflow.

AdvancedFree prompt

Best for

Professional goal: Develop an effective sql system for growth

PostgreSQLMySQLdata
Copy-ready promptOpen prompt

ETL Query for customer churn Data Pipeline

Practical sql prompt to work through ETL Query for customer churn Data Pipeline with AI — specific steps, not generic advice.

BeginnerFree prompt

Best for

Professional goal: Implement a systematic sql system for growth

SQLdatabasequeries
Copy-ready promptOpen prompt

Database Schema for financial reporting App

Practical sql prompt to work through Database Schema for financial reporting App with AI — specific steps, not generic advice.

IntermediateFree prompt

Best for

Professional goal: Design a data-driven sql process with proven methods

PostgreSQLMySQLdata
Copy-ready promptOpen prompt

Performance Tuning for sales performance SQL

A focused prompt for sql that helps you work through Performance Tuning for sales performance SQL faster and more consistently.

AdvancedFree prompt

Best for

Professional goal: Implement a systematic sql approach for scale

PostgreSQLMySQLdata
Copy-ready promptOpen prompt

Data Extraction for user behavior Report

Use this prompt to handle data extraction for user behavior report as a repeatable sql workflow.

BeginnerFree prompt

Best for

Professional goal: Automate the sql workflow using AI tools

SQLdatabasequeries
Copy-ready promptOpen prompt

Performance Tuning for inventory management SQL

Get a strong first draft for performance tuning for inventory management SQL instead of starting from a blank page — tuned for sql.

AdvancedFree prompt

Best for

Professional goal: Develop an effective sql system for growth

PostgreSQLMySQLdata
Copy-ready promptOpen prompt

Data Validation Query for user behavior DB

Practical sql prompt to work through Data Validation Query for user behavior DB with AI — specific steps, not generic advice.

AdvancedFree prompt

Best for

Professional goal: Design a data-driven sql framework for efficiency

SQLdatabasequeries
Copy-ready promptOpen prompt

Database Schema for cohort analysis App

Get a strong first draft for database schema for cohort analysis app instead of starting from a blank page — tuned for sql.

IntermediateFree prompt

Best for

Professional goal: Enhance the sql workflow using AI tools

SQLdatabasequeries
Copy-ready promptOpen prompt

Data Extraction for sales performance Report

Turn "Data Extraction for sales performance Report" into a practical, copy-and-run prompt for sql in data analysis.

BeginnerFree prompt

Best for

Professional goal: Develop an effective sql approach for scale

PostgreSQLMySQLdata
Copy-ready promptOpen prompt

SQL View for inventory management Reporting

Turn "SQL View for inventory management Reporting" into a practical, copy-and-run prompt for sql in data analysis.

BeginnerFree prompt

Best for

Professional goal: Transform the sql approach for scale

PostgreSQLMySQLdata
Copy-ready promptOpen prompt

Every prompt here is free. The course teaches the thinking behind them.

Copy as many prompts as you like. When you want to move from single prompts to a repeatable AI workflow, Learn AI in 30 Days walks through it, one day at a time.

Get the courseSee the 30-day curriculum first

Buy the course once ($15/$20 by length), or go all-access for $10/mo with a verifiable certificate.

Related categories

Explore adjacent prompt libraries that support data analysis workflows.

How to use Data Analysis prompts well

Start with the prompt closest to your workflow, replace any placeholders with your own context, and tell the model what a good output looks like. The fastest improvement usually comes from clearer context, tighter constraints, and a more specific deliverable.

This category is especially useful for SQL, spreadsheets, dashboards, and KPI reviews. Treat the prompt as the execution layer, then refine it into a reusable workflow once you know it solves a real recurring problem.