Assembly Interview Question

Mostly On SQL, Join, nested query