xxxselect id, es, asc_3, asc_6, geotype_id from keops.geoplaces where
id and asc_4=133864 and important_6=1 and (geotype_id!=9 and
geotype_id!=153 and geotype_id!=154 and geotype_id!=155)
order by important_1 DESC, important_2 desc, important_3 desc, rand() limit 30 Array
(
[0] => Array
(
[id] => 498047415
[es] => La Catedral
[asc_3] => 611
[asc_6] => 176658
[geotype_id] => 23
)
[1] => Array
(
[id] => 498079969
[es] => Valle Sagrado de los Incas
[asc_3] => 611
[asc_6] => 176658
[geotype_id] => 8
)
[2] => Array
(
[id] => 498048339
[es] => Museo Arqueológico
[asc_3] => 611
[asc_6] => 176658
[geotype_id] => 30
)
[3] => Array
(
[id] => 498047418
[es] => La Compañía de Jesús
[asc_3] => 611
[asc_6] => 176658
[geotype_id] => 23
)
[4] => Array
(
[id] => 498079953
[es] => Museo de Arte Precolombino
[asc_3] => 611
[asc_6] => 176658
[geotype_id] => 30
)
[5] => Array
(
[id] => 498047444
[es] => Sacsahuayman
[asc_3] => 611
[asc_6] => 176658
[geotype_id] => 8
)
[6] => Array
(
[id] => 498047423
[es] => Iglesia de San Blas
[asc_3] => 611
[asc_6] => 176658
[geotype_id] => 23
)
[7] => Array
(
[id] => 498048198
[es] => Coricancha o Templo del Sol
[asc_3] => 611
[asc_6] => 176658
[geotype_id] => 8
)
[8] => Array
(
[id] => 498048194
[es] => Palacio del Inca Roca
[asc_3] => 611
[asc_6] => 176658
[geotype_id] => 34
)
[9] => Array
(
[id] => 498048317
[es] => Monumento al Inca Pachakuteq
[asc_3] => 611
[asc_6] => 176658
[geotype_id] => 8
)
[10] => Array
(
[id] => 498047426
[es] => Iglesia de Santo Domingo
[asc_3] => 611
[asc_6] => 176658
[geotype_id] => 23
)
[11] => Array
(
[id] => 498079952
[es] => Museo Inca
[asc_3] => 611
[asc_6] => 176658
[geotype_id] => 30
)
[12] => Array
(
[id] => 498047414
[es] => Plaza de Armas
[asc_3] => 611
[asc_6] => 176658
[geotype_id] => 8
)
[13] => Array
(
[id] => 498048213
[es] => Convento de las Nazarenas
[asc_3] => 611
[asc_6] => 176658
[geotype_id] => 25
)
[14] => Array
(
[id] => 498008198
[es] => Manu National Park
[asc_3] => 611
[asc_6] => 0
[geotype_id] => 31
)
[15] => Array
(
[id] => 498048185
[es] => Palacio del Inca Viracocha
[asc_3] => 611
[asc_6] => 176658
[geotype_id] => 34
)
[16] => Array
(
[id] => 498069098
[es] => Teatro Inti Raymi
[asc_3] => 611
[asc_6] => 176658
[geotype_id] => 38
)
)