J.P. Morgan interview question

SQL Join commands, JAVA debugging skills