Mysql Error: SELECT SQL_CALC_FOUND_ROWS prod.* , MIN( price ) AS minPrice, MAX( price ) AS maxPrice FROM `pt_products` as prod WHERE brand = 'Blondie' GROUP BY normalised_name ORDER BY prod.clicks/(DATEDIFF(NOW(),prod.add_date)+1) desc LIMIT 0,21
Out of resources when opening file '/var/tmp/#sql_6e8_0.MAI' (Errcode: 24)