Sezzle Interview Question

Some SQL queries based on the schemas you proposed before