If the AI's query pulled what I intended to pull, why should I care to understand the SQL any more than I should understand the Query Plan or the Machine Code?
But if you ever need to query unknown data, then probably you should learn SQL a bit deeper.