FINRA interview question

Basic question about Java & SQL