Всего 186 966 товаров в 12 магазинах


Ошибка в запросе select t.*, c1.Cena as Cena1, c2.Cena as Cena2, k.Company, c.CategoryName, c.GroupID, g.GroupName, (CASE WHEN c1.Cena>c2.Cena THEN CAST(((c1.Cena - c2.Cena)/c1.Cena)*100 as decimal(10,0)) WHEN c1.Cenac2.Cena THEN CAST((c1.Cena - c2.Cena) as decimal(10,0)) WHEN c1.Cena '' and t.Tovar like '%%' order by (c2.Cena - c1.Cena) desc, t.Tovar asc limit 0, 40

Incorrect key file for table '/tmp/mem/#sql908_bc7479f_0.MYI'; try to repair it