Ian Klosowicz

Data analysts should use ChatGPT as a fast, sometimes wrong assistant: good for drafting queries, explaining errors, and cleaning up writing, and never trusted for a final number without checking it. Keep company data out of the prompt, give it your table structure instead, and verify every result against something you know. The analysts who get value from it already understand the work well enough to catch its mistakes.
This post covers what it's good for, what to keep it away from, example prompts you can copy, a checklist for verifying output, and how to use it without hurting your own skills.
My own rule comes from what I do. I write SQL every day in Snowflake and Coalesce, and AI tools have sped up parts of that work. They haven't replaced understanding what a table needs to output and why the business cares about it. I'm self-taught with no relevant degree, and I came out of warehouse work. My rule is simple: whatever a tool drafts gets read and tested before it goes anywhere.
Follow this short routine:
That's the whole approach. The rest of this post fills in the details. If you're wondering where AI stops helping, what data analysts do that AI still can't covers the judgment work that stays with you.
ChatGPT and similar assistants save the most time on tasks with a clear right answer you can check. These are the strongest uses:
Notice what these have in common. Each one speeds up a step, and you stay in charge of whether the step is right.
These are the places AI creates risk instead of saving time:
A useful test: if you couldn't explain the output to your manager without the tool, you're not ready to send it.
Before you paste anything into an AI tool, check your company's policy. Many employers restrict which tools you can use and what you can share. When in doubt, ask. Follow these habits either way:
Getting this wrong is the fastest way to turn a time-saver into a career problem. It takes 30 seconds to strip a prompt down to structure only.
Good prompts give context, state the goal, and ask for checks. Here's a template for drafting a query:
My table is orders(order_id, customer_id, order_date, amount, status).
Write a query that returns monthly revenue, excluding cancelled orders.
Explain each line, then list 3 ways this query could return wrong numbers.
That last sentence matters. Asking for failure modes gets you a checklist of things to test, like duplicate rows, missing dates, and NULL values. Handling NULL values in SQL covers one of the most common culprits.
Here are a few more patterns that work:
Write your own attempt first when you can. A review of your query teaches you more than an answer handed to you. Once the draft is ready, understanding how joins behave is what lets you catch the most common silent error.
Treat every AI-written query like code from a new teammate who is fast, confident, and sometimes wrong. Run through this checklist before you trust it:
This is the same review you'd do for a query you wrote yourself. The tool just moves your time from typing to checking, which is a good trade if you actually do the checking.
This is where AI can quietly hurt you. If you paste every problem into a chatbot and copy the answer, you finish your practice without building the skill. It's tutorial hell with a faster engine.
Use it as a tutor, not an answer machine:
The test is whether you can write the query in a blank file next week. If you can't, the practice didn't work. How to practice SQL so it sticks covers habits that build the skill, and how much SQL you need for an entry-level analyst job shows what level to reach.
AI is useful for interview prep and risky in the interview itself. In prep, you can ask it to play the interviewer, give you SQL questions, or critique how you explain a project. It can't replace saying the answer out loud to a person.
I failed roughly my first 10 interviews because I rambled and lost my place when I explained my work. Typing answers to a chatbot wouldn't have fixed that. Speaking them aloud would have.
In the interview, expect to write SQL and explain your thinking without help. Many technical screens don't allow AI tools, and hiring managers want to see that you understand the work. If a round goes badly, what to do after failing a data analyst technical interview shows how to recover.
These come up again and again:
I got hired with 3 project links on my resume: 2 Tableau Public dashboards and 1 Power BI project. If you use AI to build yours, you should still be able to explain every query and every chart without it. That's what a reviewer will test.
The 90 days at Analyst Hive build the fundamentals first, so you can use AI tools from a position of strength instead of guessing whether the output is right.
Can data analysts use ChatGPT at work?
Often yes, but check your company's policy first. Many employers restrict which tools you can use and what data you can share. Where it's allowed, use it for drafting, explaining, and debugging, and keep real company data out of your prompts.
Can ChatGPT write SQL queries for data analysts?
Yes, and it's often a decent first draft when you give it your table structure. It can also produce queries that run fine and return wrong numbers. Read every line, test on a small sample, and check results against a number you trust.
Is it safe to paste company data into ChatGPT?
Usually not, unless your company has approved the tool for that purpose. Share table and column names instead, and use made-up sample rows. Never paste customer information, financial figures, or internal documents without clear permission.
Will ChatGPT replace data analysts?
It's changing the mechanical parts of the job, like drafting queries and formatting reports. It doesn't replace framing the right question, knowing business context, or defending a result. Analysts who can use it and check it tend to benefit more than those who ignore it.
Should beginners use ChatGPT to learn SQL?
As a tutor, yes. As an answer machine, no. Try each problem yourself first, ask for hints, and have it explain your mistakes. If you copy solutions without writing your own, you won't build the skill that interviews test.
How do I get better answers from ChatGPT as an analyst?
Give context, including your table structure, the question, and the SQL dialect. State what you want back, and ask it to explain its steps and list ways the result could be wrong. Then verify the output yourself.
If you want a day-by-day plan that builds the fundamentals AI can't replace, join Analyst Hive and work through it in order.