Wells Fargo Interview Question

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