Whenever you're ready, walk me through how you'd approach this.
Tell me about a time series SQL approach you used for stock market analysis, including how you applied lead/lag functions in PostgreSQL.