I’d focus on understanding data at a deeper level rather than just learning how to query it.
AI can generate SQL and build reports, but it can still produce technically valid outputs based on incorrect assumptions. Understanding data grain, join cardinality, NULL handling, metric definitions, and how aggregation affects results is what helps an analyst catch those errors.
I’d also prioritise statistical reasoning and experimentation. Knowing whether a change is meaningful, whether a correlation is misleading, or whether a metric has been affected by selection bias is much harder to replace with simply generating a query.
Another important skill is understanding data pipelines and lineage. When two dashboards show different numbers, an analyst should be able to trace the discrepancy back to transformations, source systems, or inconsistent business logic.
AI literacy matters, too, but not just prompt engineering. It means validating generated queries, testing edge cases, and understanding the limitations of the tools being used.
SQL is becoming easier to produce. Knowing whether the result is correct, meaningful, and useful for a business decision is where an analyst can differentiate themselves.