Stockly Interview Question

Large SQL test that takes 1 hour to do.