LLM:s are really really good at creating queries. Shaving of the last ms from a complex query? yea, im sure an experienced query optimizer expert might beat it.
But you get very far from letting the LLM run a few queries to gather info about the database and its use.
But you get very far from letting the LLM run a few queries to gather info about the database and its use.