This was a great tutorial. It highlighted the point that “SQL is still a skill”. LLMs can generate SQL, but not analytical and efficient queries yet.
The cost is a factor, but right now it seems not worth it.
I thought LLMs were replacing people writing SQL, but here we are still requiring the domain experts. The people who will roll up the sleeve and press CAPs Lock and head to write SQL.
GPT models are decent in a balance of latency with accuracy, then comes Claude with high accuracy but slight slow, Gemini is good, especially the Pro, but takes time, the flash models are bad with faster times.
So, the LLMs are not perfect yet, they might get a few years time down the road, but it looks far from now.