ERROR!
Subquery returns more than 1 row
select s.*, d.ktitle as alt, d.ksubtitle1, d.ksubtitle2, d.kdesc1,d.kcontent, (SELECT url FROM `uii_link` where siteid=1123 and tid=s.kid and link_type=6 and lang='pl') as url, (SELECT kurl FROM `imb__media` where tid = s.kid and siteid = 1123 and ktype = 'article_imgs' limit 1) as kurl from imb__article as s left join ui_text as d on s.kid = d.uid where s.siteid = 1123 and s.status = 1 and d.text_type = 6 and d.siteid = 1123 and d.lang = 'pl' order by norder asc limit 16
ERROR:Subquery returns more than 1 row