Most data analyst interviews test SQL through business-style questions, not only syntax. You should be comfortable with filtering, joins, grouping, ranking, and communicating your logic clearly.
Practice SQL NowState your approach first, then write the query. Mention assumptions, grouping logic, null handling, and why your answer matches the business question.