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 (1106, 1107, 1108, 1109, 1111, 1113, 1114, 1115, 1116, 1121, 1122, 1123, 1127, 1128, 1129, 1130, 1133, 1134, 1135, 1138, 1139, 1140, 1141, 1142, 1143, 1144, 1145, 1146, 1147, 1150, 1151, 1152, 1153, 1156, 1165, 1166, 1167, 1181, 7222, 1184, 1189, 1190, 1191, 1192, 1200, 1201, 1202, 1203, 1204, 1215, 1216, 1217, 1218, 1219, 1220, 1221, 1222, 1223, 1224, 1225, 1226, 1227, 1228, 1229, 1230, 1231, 1232, 1233, 1234, 1235, 1236, 1237, 1238, 1239, 1240, 1241, 1244, 1245, 1246, 1247, 1248, 1249, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1264, 1265, 1266, 1267, 7203, 1185, 1272, 1273, 1274, 1275, 1276, 1277, 1278, 1279, 1280, 1281, 1282, 1282, 1183, 1283, 1268, 6228, 1285, 1286, 1287, 1288, 1289, 1290, 1291, 1292, 1293, 1294, 1295, 1296, 1297, 1298, 1110, 1110, 1117, 1118, 1119, 1119, 1120, 1131, 1136, 6236, 1149, 1154, 7199, 7200, 1155, 1183, 1183, 1183, 1183, 6229, 1186, 1185, 1185, 1185, 6226, 1186, 1186, 1186, 1187, 1187, 1187, 7129, 1188, 1197, 1198, 1199, 1205, 1206, 1207, 1208, 1209, 1210, 1211, 1212, 1213, 1214, 7124, 1242, 6230, 1243, 6232, 1268, 1269, 1185, 2222, 2497, 2497, 2497, 6233, 2953, 7127, 1234, 3439, 3440, 3441, 3442, 3444, 3557, 3557, 3557, 3558, 3559, 5234, 5234, 5960, 3432, 7213, 3569, 3570, 6203, 7220, 6225, 6224, 6231, 6234, 6235, 7126, 6237, 6239, 6238, 6240, 6241, 1139, 6242, 6243, 6243, 6244, 6838, 6837, 6894, 6932, 1241, 1240, 1188, 1188, 1188, 1188, 7125, 7125, 7125, 7125, 7125, 7128, 7130, 7133, 7132, 7131, 7137, 7136, 7138, 7140, 7139, 7139, 7140, 7140, 7139, 7140, 7139, 7140, 7139, 7141, 7142, 7144, 7143, 7150, 7145, 7146, 7147, 7148, 7149, 7152, 7151, 7155, 7154, 7153, 7164, 7162, 7161, 7160, 7163, 7159, 7158, 7156, 7157, 7167, 7168, 7165, 7166, 7169, 7170, 7171, 7179, 7176, 7175, 7178, 7174, 7173, 7172, 7183, 7182, 7180, 7181, 7185, 7184, 7187, 7187, 7186, 7190, 7189, 7188, 7192, 7191, 7194, 7196, 7195, 7193, 7197, 7202, 7201, 7198, 3558, 6240, 7208, 7207, 7207, 7206, 7206, 7206, 7209, 7210, 7212, 7217, 7218, 7219, 1182, 7223, 7221, 7224, 7225, 7226, 7232, 7229, 7228, 7230, 7231, 7227, 7233, 7237, 7235, 7236, 7234, 7234, 7238, 7240, 7239, 7242, 7241, 1139, 1139, 7244, 7245, 7243, 7246, 7247, 7239, 7310, 7178, 7389, 7391, 7387, 7388, 7394, 7395, 7397, 7399, 7396, 7400, 7401, 7398, 8174);; Unknown column 'mt_program.gmat_required' in 'field list'