There is a YouTube video from someone talking to chatgpt to play SQL server.
It can reproduce the right output of 3 insert statements with a select *.
It can interpretate an SQL procedure too.
Whatever the architecture is behind this, is slightly more than just text prediction.
I don't think 'text prediction ' does this type of state management justice.
But hey let's see. Perhaps this is just an emerging feature from a tremendously huge text/language model.