Revolut Interview Question

basic SQL queries using joins, windows functions etc.