FINRA interview question

Core java, sql, query.