Mysql Error: SELECT SQL_CALC_FOUND_ROWS prod.* , MIN( price ) AS minPrice, MAX( price ) AS maxPrice FROM `pt_products` as prod WHERE brand = 'Spot On' GROUP BY normalised_name ORDER BY prod.clicks/(DATEDIFF(NOW(),prod.add_date)+1) desc LIMIT 0,21
Can't create/write to file '/var/tmp/#sql_6cdb_0.MAI' (Errcode: 28)