MySQL
User 'leopompevcmvc' has exceeded the 'max_questions' resource (current value: 64000)
Query
select `id`, `productRef`, `modeleRef`, `type`, `file`, `alt`, ifNull((select expression from language│translation where translationId = `productImage`.`alt` && languageId in('pl', 'en', 'fr') && expression != '' order by field(languageId, 'pl', 'en', 'fr') limit 1), "") as `[TR]alt`
from `productImage`
where productRef = '5DW 2'
order by id