Whenever you're ready, walk me through how you'd approach this.
Tell me about a time you used SQL to solve a real data problem, and walk me through your approach using pseudocode.