SQL vs. Copilot
Copilot tries to guess what you want to do, and suggests an implementation for it.
In SQL, you explain what you want to do, and the query planner automatically finds a solution to the problem, and returns a result.
The important difference is Copilot has to guess your intentions, whereas with SQL, the programmers specify exactly what they want to do in a precise way.
Much of the auto-generated code Copilot spits out for imperative languages, is simply not there at all, in declarative languages like SQL, since you only have to write what you want to do, and no code at all on how to actually implement it.
My point is, maybe instead of Copilot, we could try to make our programming languages, future and present, more declarative, to reduce the need to auto-generate code.