CellarStone Interview Question

basic sql queries