select distinct	af.num_manzana AS manzana,
					af.num_predial AS predio,
					CONCAT(af.num_manzana, '-', af.num_predial) as rol,
					af.descripcion_comuna,
					af.direccion_predio,
					af.avaluo_fiscal,
					af.avaluo_exento,
					af.id_comuna,
					(af.avaluo_fiscal - af.avaluo_exento) as avaluo_total,
					af.contribucion_semestral,
					af.superficie_total,
					af.id_comuna_rol1,
					af.num_manzana_rol1,
					af.num_predial_rol1,
					rr.nombre_propietario,
					rr.anio_termino_exencion,
					case when rr.codigo_ubicacion = 'R' then 'Rural' else 'Urbano' end as codigo_ubicacion,
					coalesce(cd.descripcion_destino, af.descripcion_destino) as descripcion_destino
					 from (select num_manzana, num_predial, direccion_predio, avaluo_fiscal, avaluo_exento, contribucion_semestral, descripcion_comuna, rr.id_comuna, rr.superficie_total, rr.id_comuna_rol1, rr.num_manzana_rol1, rr.num_predial_rol1, cd.descripcion_destino  from roles_no_agricolas rr inner join codigos_comunas co on rr.id_comuna = co.id_comuna  left join codigos_destinos cd on rr.id_destino = cd.id_destino  where 1 = 1   and rr.id_comuna = '4104'  and replace(replace(rr.direccion_predio, '-', ' '), '/', '') like '%contact page one/SITIO 5 DEL PLANO 04103   538 S.R.%' and rr.num_manzana = '186' and rr.num_predial = '20'  union select num_manzana, num_predial, direccion_predio, avaluo_fiscal, avaluo_exento, contribucion_semestral, descripcion_comuna, rr.id_comuna, 0 as superficie_total, 0 as id_comuna_rol1, 0 as num_manzana_rol1, 0 as num_predial_rol1, cd.descripcion_destino  from roles_agricolas rr inner join codigos_comunas co on rr.id_comuna = co.id_comuna  left join codigos_destinos cd on rr.id_destino = cd.id_destino  where 1 = 1   and rr.id_comuna = '4104'  and replace(replace(rr.direccion_predio, '-', ' '), '/', '') like '%contact page one/SITIO 5 DEL PLANO 04103   538 S.R.%' and rr.num_manzana = '186' and rr.num_predial = '20'  ) af  left join roles_propietarios rr on af.id_comuna = rr.id_comuna and af.num_manzana = rr.num_manzana
									and af.num_predial = rr.num_predial  left join codigos_destinos cd on rr.id_destino = cd.id_destino 
Avaluos.cl

Consulta la superficie, año, material, calidad y destino

SIN INFORMACION

Últimas 20 consultas:

Estancia Delano Pc 536 Lt 4 Lt 4 - 15 - Vallenar 2 Norte 79 Dp 1503 - Vina Del Mar 10 Norte 467 Dp 23 - Vina Del Mar 5 Sur Mz St 2 - El Quisco Bahia Mansa St 17 - Algarrobo Cam Publico - Retiro Sc.quiriquina Lt.a - San Ignacio Pje Rio Blanco 1276 - Chillan Viejo Pje 4 Cs 19 Lt 16 Mz A - Concepcion Napoles 4166 - Hualpen Pje Fco Pleiteado 1611 - Temuco Camino Pillanlelbun Vilcunlt 7 Pillanlel - Lautaro St Ar Chorombo - Maria Pinto Los Conquistadores 1730 Bd 607 - Providencia Las Malvas 370 Bx 94 - Las Condes A De Cordova 5870 Bx 420 Bx 421 - Las Condes Gral Carol Urzua 7030 Bx 230 Bd 118 - Las Condes Av Americo Vespucio 1473 Bx 8 - Vitacura Pasaje 24 Sur 6922 - Lo Espejo Pj Lago Verde 1375 - San Bernardo