Wells Fargo interview question

Told me to write a SQL query and also asked about a tough AbInitio graph