I used SQL a lot when working in the financial industry many years ago. Our "use-cases" were questions like "why did the P/L go down?" or "why did the risk position increase?". These are quite open questions (that require some creativity and interpretation to be answered) but I guess it is possible to train an AI to even answer such questions.