Pregunta de entrevista de ServiceNow

mostly based on Javascript, SQL