(select 0, fotoextrachica, fotomediana, fotogrande1 from articulos where idarticulo = 263) union (select id, fotoextrachica, fotomediana, fotogrande from articulos_fotos a where idarticulo = 263 order by id limit 0,4)