8 (391) 228-68-68 Единый многоканальный телефон
Везде
SELECT MIN(c.val) FROM sln_exgood a inner join sln_expack b ON (b.parent = a.id) inner join sln_exprice_good c ON (c.parent = 1 AND b.id = c.expack) WHERE AND a.publish1=1 AND c.val > 0