McDonald's Interview Question

SQL coding question to sort through data