Pergunta de entrevista da empresa Amdocs

Code java (deep) SQL Query, joins Unix commands