Why learn SQL if ChatGPT can write it?
A few reasons why you should still learn SQL:
1️⃣ An understanding of the nuances of SQL is necessary to ask the Large Language Model (”LLM”) the right questions to get a good response.
2️⃣ You have to double check the LLMs response. Sometimes I get answers that uses features that have been deprecated (probably because the LLM was trained on older data). It still makes mistakes and overcomplicates problems.
3️⃣ Making changes to the query requires an understanding of SQL. Without it, you might get stuck. It's important to understand the query's purpose.
So what do I use these LLMs for?
I find it a good starting point for syntax or query structure. Like “how would I use a window function to get the latest record in a table?” But it doesn’t understand my company’s data models, table relationships, or business logic. This is where my SQL + business knowledge comes in.
Post #1696
1.9K
- 👍 4