Error: MySQL server has gone away
Error No: 2006
SELECT d.* FROM category_to_variation a, variation_group_type b, variation_group c, variation_group_description d WHERE a.variation_group_type_id=b.variation_group_type_id and b.variation_group_id=c.variation_group_id AND c.variation_group_id=d.variation_group_id GROUP BY c.variation_group_id ORDER BY c.sort_order DESC