         a.edid AS gwr_edid,
         ST_X(a.lage) AS koord_ost,
         st_y(a.lage) AS koord_nord,
-        a.astatus,
+        a.astatus AS status,
         b.geometrie AS gwr_egid_geom,
         a.lage AS gwr_edid_geom,
         CAST(a.bfs_nr AS varchar(20)) AS bfs_nr

        a.edid AS gwr_edid,
        ST_X(a.geometrie) AS koord_ost,
        st_y(a.geometrie) AS koord_nord,
        a.astatus,
        b.geometrie AS gwr_egid_geom,
        a.geometrie AS gwr_edid_geom,
        a.bfsnr

        a.gwr_edid,
        a.koord_ost,
        a.koord_nord,
        a.status,
        o.objektname,
        g.grundstuecknummer,
        g.grundbuchkreis
