IGL Group interview question

Basic question about JavaScript, MySQL