Toast Inc interview question

SQL questions for fraud detection