ABC Interview Question

CTEs, Window functions, Self joins, stored procedures, injections