Dynamic Yield Interview Question

asked me about sql and javascript