There is a request:
SELECT item.* FROM item JOIN price ON price.item = item.id JOIN currency ON currency.id = price.currency ORDER BY price.price * currency.course ASC
It is necessary that it should produce not a simple array of arrays, but an array of objects of the Item
class inherited from ActiveRecord
in Yii2.