XYZ Interview Question

sql based , coding round , sql queries,