ServiceNow Interview Question

mostly based on Javascript, SQL