1054 - Unknown column '6401_6532_6639' in 'where clause'
select MAX(p.products_price) as max_price, MIN(p.products_price) as min_price from products p where p.products_id in (select p2c.products_id from products_to_categories p2c where p2c.categories_id in (6550,7266,7270,7271,7272,7273,7274,7275,7276,7277,7278,7279,7499,7500,7501,7502,7503,7504,7505,7506,7507,7508,7509,7510,7511,7512,7513,7514,7515,7516,7517,7518,7519,7520,7521,7522,7523,7524,7525,7526,7527,7528,7618,7619,7620,7621,7622,7623,7624,7625,7626,7627,7628,7629,7630,7664,7665,7697,7698,7702,7777,7778,7779,7780,7781,7782,7783,7784,7785,7786,7787,7788,7789,7790,7791,7809,7842,7844,7846,7848,7850,7852,7854,7856,7858,7860,7862,7864,7866,7868,7870,7872,7874,7876,7879,7880,7882,7884,7886,7888,7890,7892,7894,7896,7898,7900,8041,8042,8058,8079,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8104,8142,8168,8170,8171,8172,8173,8174,8175,8183,8184,8185,8186,8187,8188,8189,8190,8191,8192,8193,8194,8195,8196,8197,8213,8214,8215,8225,8226,8227,8228,8233,8253,8265,8266,8267,8268,8269,8270,8271,8272,8273,8274,8275,8276,8287,8290,8292,8294,8296,8298,8302,8303,8305,8308,8310,8312,8314,8318,8320,8322,8326,8327,8332,8333,8336,8337,8339,8341,8343,8345,8347,8350,8351,8353,8355,8357,8359,8364,8366,8367,8369,8372,8373,8376,8377,8380,8381,8384,8386,8388,8409,8411,8413,8421,8423,8425,8427,8429,8431,8432,8434,8436,8449,8451,8454,8455,8457,8459,8461,8463,8465,8467,8469,8472,8473,8475,8478,8484,8485,8488,8490,8493,8494,8495,8496,8500,8507,8509,8510,8512,8516,8520,8521,8522,8526,8528,8530,8532,8534,8536,8537,8540,8542,8544,8546,8547,8552,8554,8556,8558,8567,8577,8580,8581,8584,8657,8665,8676,7164,7165,7166,7167,6401_6532_6639)) and p.products_status = '1' and p.products_free_gift_status = '0' and p.products_third_party_status = '0' and (p.products_date_available < now() or p.products_date_available IS NULL)