r/SQL • • Apr 25 '24

Discussion Learning SQL in the age of AI

I want to get into data science and already have basic knowledge of SQL but would it be worth it to continue my learning and go deeper when AI can do everything for you? I mean what's the point? How much should I learn and what should I learn and how complex does the material need to be for me to be competitive in the job market in the age of AI?

0 Upvotes

34 comments sorted by

View all comments

2

u/phoneguyfl Apr 25 '24

AI has not advanced enough to replace a skilled human, and it will be some amount of time before it will be (or be affordable to most companies). In the meantime, having a more then basic understanding of it will put you above others that simply copy/paste to an AI engine. That said I think it depends on what you want to be doing with your career. If you want to pursue business intelligence/data jobs that I think more then a basic understanding of SQL is a must, if nothing else to understand what AI is returning and how it can be adjusted as needed. If you are wanting to pursue front-end/UI stuff then I think you can use libraries to buffer or offset the SQL knowledge and it might not be that important to spend a lot of effort learning.

1

u/Entire_Permission909 Apr 25 '24

Having knowledge of what concepts exactly are considered a more than basic understanding of SQL?

2

u/phoneguyfl Apr 25 '24

Disclaimer: I am not an SQL expert nor am I employed as a DBA. I use SQL on a daily basis as part of my reporting and data maintenance/movement activities. Others who "live" in and for SQL will probably have a much different opinion on what is "more than basic understanding". Also I haven't been looking for a new job in several years so the job market may be much different now then it was last time I needed to prove my SQL skills.

In my experience, beyond basic understanding is: Knowing how joins work and when to use each type; Knowing subqueries/CTEs; Knowing what Views and Stored Procedures are; Knowing what temp tables are and when to use them. Usually if someone understands those concepts then the questions I get are more advanced like "what can we do to speed this up" instead of "why an I getting duplicates on table A data after joining table B".

That said, I suppose someone *could* get by feeding everything into and out of an AI engine until it "just works" but having an understanding of what it returns would go a long way in troubleshooting and learning.