lastArticles: SELECT tCat.id, tCat.idc, tCat.name, tTxt.txt FROM siptr_cat as tCat, siptr_txt as tTxt WHERE tCat.type='txt' && tTxt.idc=tCat.id && (tCat.idc IN (SELECT id FROM siptr_cat WHERE idc='0' && type='art' ORDER BY id)) ORDER BY tCat.id DESC LIMIT 3