Unknown column 'Name_ua' in 'field list'
SELECT *,IF(LENGTH(`Name_ua`), `Name_ua`, `Name_ru`) AS `Name` FROM SC_currency_types ORDER BY sort_order, `Name`