SELECT * FROM cms_map_cats WHERE NSLeft >= 12 AND NSRight <= 19 AND NSLevel > 1 AND NSLevel <= 3 AND published=1 ORDER BY NSLeft

DATABASE ERROR:

SELECT  i.*,
                        c.title as category,
                        c.marker as marker,
                        c.zoom as zoom,
                        m.addr_country,
                        m.addr_city,
                        m.addr_street,
                        m.addr_prefix,
                        m.addr_house,
                        m.addr_room,
                        m.addr_phone,
                        m.id as addr_id
                        , ic.ordering as ordering

                FROM    cms_map_cats c
                        , cms_map_items_cats ic,
                        cms_map_markers m,
                        cms_map_items i

                WHERE   m.item_id = i.id AND i.published = 1
                        AND (ic.category_id = c.id AND ic.item_id = i.id)
                         AND (c.NSLeft>=12 AND c.NSRight<=19)
                         
 AND (i.published=1)


                GROUP BY i.id

                ORDER BY ordering asc
LIMIT 0, 15

Unknown column 'm.addr_phone' in 'field list'