If you have a shape-file with the view of the buildings, how can you assign for each building the number of existing stories, apartments and the name of the respective owners in the related spatial database

and thank you so much !!