SQL ERROR: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
select s.specials_new_products_price,p.products_price ,
max(ROUND((100-(s.specials_new_products_price*100/p.products_price)),2)) sub_pr_discount
from specials s left join products p
on (p.products_id = s.products_id)
where s.products_id IN (30337,30338,30339,30340,30341,30342,30343,30344,30345,30346,30347,30348,30349,30350,30351,30352,30353,30354,30355,30356,30357,30358,30359,30360,30361,30362,30363,30364,30365,30366,30367,30368,30369,30370,30371,30372,30373,30374) and s.status = '1' and p.products_status =1
and s.customers_group_id = '0'