Javascript Insert New Row Sql Interview Preparation