Wells Fargo interview question

They asked some SQL queries