Query failed
SELECT t.setting_value AS journal_name,fy.setting_value AS first_year,IF(n.setting_value > n2.setting_value,n.setting_value,n2.setting_value) AS numbers,t.locale FROM ojs_inter.journal_settings AS t INNER JOIN ojs_inter.journal_settings AS fy ON fy.journal_id=t.journal_id AND fy.setting_name='initialYear' INNER JOIN ojs_inter.journal_settings AS n ON n.journal_id=t.journal_id AND n.setting_name='volumePerYear' INNER JOIN ojs_inter.journal_settings AS n2 ON n2.journal_id=t.journal_id AND n2.setting_name='issuePerVolume' WHERE t.journal_id=7 AND t.setting_name='name' AND t.locale='ru_RU'