InteractCRM interview question

SQL and java questions in the second round. Could not get to the interview.