DoorDash interview question

SQL questions, 4 of them