AnchorFree interview question

2 easy SQL query questions