Error writing file '/tmp/MYKgGwIJ' (Errcode: 28)
SELECT pot.*, pot.name_ru AS _name_sort, povt.* FROM SC_product_options_values as povt LEFT JOIN SC_product_options as pot ON pot.optionID=povt.optionID WHERE povt.productID IN ('39721','39715','35515','39717','39719','36228','39713','39718','39720') ORDER BY pot.sort_order, _name_sort