From Doer To Manager
I Had It Completely Backwards When I started working on this AI Agent project, I fell into a trap. I was thinking: how do I teach AI to write SQL? I actually started listing rules — "use BETWEEN fo...

Source: DEV Community
I Had It Completely Backwards When I started working on this AI Agent project, I fell into a trap. I was thinking: how do I teach AI to write SQL? I actually started listing rules — "use BETWEEN for dates," "remember JOIN for multi-table queries," "field names use underscores not camelCase"... Halfway through I realized something was off. This list would be endless. And honestly, my own SQL wasn't that great. How was I supposed to "teach" an AI? Then my mentor said something that clicked: "AI doesn't need you to teach it SQL. It already knows. It knows more than you do." So where was the problem? The Real Problem The issue wasn't that AI can't write code. The issue was it didn't know what my database looked like. It's like a transfer student. Their math foundation is solid — they know all the theorems and formulas. But give them a word problem and they're stuck — because they don't know the background. The problem says "distance between A and B is 500 km," they don't know what A and B