Question d’entretien chez Walmart

SQL group by and having case questions