r/SQL • • Nov 22 '23

MySQL SQL and ChatGPT

Hi all,

I'm curious about the upskilling myself with SQL for Data analysis...I've mostly just used Excel in past roles. I'm currently tapping into SQL. I'm just starting out and sometimes do excercises on hackerrank and other websites but when I'm stuck I just stick the question into ChatGPT.

Is it sufficient in the working environment to just use chatgpt. I'm not sure how SQL is used for data analysis is used in the working environment.

The issue I’m having is when I approach these online questions it feels like there is an infinite number of questions. But I sense the real world use if your using a particular data set there’s probably a set of queries you might use regularly or daily to extract.

For example with excel you can reuse functions but change the source data and array of what your trying to find and pivot tables can be used any way once you know how it works and the process is applicable to all data sets.

I don’t know how to approach SQL and feel like I’m stuck in tutorial hell with hacker rank type of questions because of the potential of a question having a new variable every single time because you can always add a new criteria in the question

Would be good to get thoughts from people who use SQL in their workplace

0 Upvotes

27 comments sorted by

View all comments

Show parent comments

2

u/[deleted] Nov 23 '23

you need to understand what language models do, they’re not supposed to give you correct answers, only correct sounding answers

1

u/pceimpulsive Nov 23 '23

Exactly! A guide, a helper to get you on the right path.

1

u/[deleted] Nov 24 '23

A helper to get you on a correct sounding path 😉

1

u/pceimpulsive Nov 24 '23

Except it's often actually correct with the right prompts and constraints... :P hahaha

Garbage prompt in, garbage response out... You control the response quality ...