(select ID, Naziv, 'tabela1' AS ime FROM tabela1 LIMIT 0,5) UNION (SELECT ID, Naziv, 'tabela2' AS ime FROM tabela2 LIMIT 0,5)