DoorDash interview question

basic sql questions and 2 business cases