Siemens interview question

OOPS, multi-threading, Advanced SQL, and puzzles