Error on run query : SELECT CASE WHEN mt_school.school_name2 = '' THEN mt_school.school_name1 ELSE CONCAT(mt_school.school_name1,' - ',mt_school.school_name2) END AS school_name, mt_school.schoolid, mt_program.program_name, mt_program.programid, mt_program.intake, mt_program.duration, mt_program.duration_from, mt_program.duration_to, mt_program.gmat_required, mt_program.gmat_waiver FROM mt_school INNER JOIN mt_program ON mt_school.schoolid=mt_program.schoolid WHERE mt_program.masters_type='tax' AND programid IN (6245, 1947, 1950, 1954, 1960, 2497, 2497, 3097, 3098, 3099, 3100, 3101, 3102, 3103, 3104, 3105, 3106, 3107, 3108, 3109, 3110, 3111, 3112, 3113, 3114, 3189, 3115, 3116, 3117, 3118, 3119, 3120, 3122, 3123, 3124, 3125, 7722, 7770, 3162, 3126, 7734, 3127, 3128, 3129, 3130, 3131, 3132, 3134, 3135, 3136, 3139, 3140, 3141, 3142, 3143, 3144, 3145, 3146, 6261, 3146, 3147, 3148, 3149, 3153, 3154, 3155, 3156, 3157, 3158, 3159, 3160, 3161, 7771, 3163, 3163, 3164, 3165, 3166, 3167, 3168, 3169, 3170, 3171, 3172, 3173, 3175, 3176, 3177, 3178, 7683, 3179, 3182, 3183, 3184, 3185, 6249, 3186, 3187, 3188, 3189, 3190, 7759, 7764, 7760, 3195, 6252, 3196, 3197, 3198, 3199, 3200, 3201, 3202, 3203, 3204, 3205, 3206, 3207, 3208, 3210, 3211, 3212, 3213, 3214, 3215, 3216, 3217, 3218, 3219, 3220, 3221, 3222, 3223, 3224, 3225, 3226, 7731, 7732, 3230, 3231, 3232, 3233, 3234, 3235, 7660, 3236, 3237, 3238, 3239, 3240, 3241, 3242, 3243, 3244, 3245, 3246, 3247, 3248, 3249, 3250, 7772, 3251, 7786, 3252, 7733, 7730, 7723, 7773, 3256, 3256, 3257, 6260, 3257, 5234, 5234, 3433, 3437, 7729, 6204, 7661, 6250, 6256, 7726, 3190, 3192, 7761, 3193, 3191, 7763, 6258, 3115, 6259, 3188, 6262, 3113, 6246, 6247, 6248, 6968, 7074, 7076, 7075, 7095, 7095, 7096, 7639, 7639, 7640, 7651, 7651, 7648, 7647, 7650, 7649, 7655, 7655, 7653, 7652, 7654, 3172, 3171, 7659, 7662, 7663, 7664, 7665, 7666, 7667, 7668, 7669, 7670, 7675, 7671, 7672, 7673, 7674, 7682, 7681, 7680, 7677, 7679, 7678, 7684, 7685, 7686, 7690, 7689, 7688, 7687, 7698, 3157, 7700, 7701, 7699, 7702, 7703, 7704, 7705, 7706, 7708, 7707, 7709, 7712, 7711, 7715, 7713, 7714, 7719, 7720, 7721, 7725, 7727, 7724, 7728, 3250, 7744, 7743, 7742, 7745, 7746, 7751, 7752, 7750, 7749, 7748, 7747, 7753, 3187, 7754, 7758, 7757, 7757, 7762, 7755, 7756, 7756, 7766, 7767, 7765, 7768, 7769, 3127, 7774, 3126, 7775, 7773, 7777, 7776, 7776, 3147, 7779, 7780, 7778, 7779, 7780, 7778, 7782, 7781, 7783, 7785, 7784, 7787, 3175, 7788, 7789, 7791, 7790, 7792, 7793, 7794, 7788, 7789, 7791, 7790, 7792, 7793, 3136, 7794, 7796, 7795, 7797, 7798, 7799, 7800);; Unknown column 'mt_program.gmat_required' in 'field list'