ARCHIVED: In ArcGIS, how do I join or relate attribute tables?
Most database design guidelines recommend organizing your database into multiple tables, each focused on a specific topic, rather than having one large table contain all the necessary fields. When you need information that isn't in your current table, you can link it to another one. In ArcMap, you do this by either joining or relating two tables together.
Joining tables
Typically, you will join a table of data to a dataset by a field value found in both tables. The fields do not have to share the same name, but they must have the same data types (e.g., you must join a floating number field to another floating number field). To join two datasets:
- In ArcMap,right-click the layer to which you want to join attributes, point to , and click .
- To join two spatial datasets, click the first drop-down arrow and click . To join a table of non-spatial data to the existing layer, click .
- In this example, we will join two spatial datasets. To choose the layer to join to the existing layer, click the drop-down arrow, and select the name of the layer with attributes you wish to join. If the layer is not currently part of the map, click to search for it on your computer.
- You may choose the option to join the attributes of the features that fall inside the polygon or the option to join the attributes of the features that intersect it.
- Enter the location and name of the output shapefile or feature class.
- Click . A new layer will be added to the map.
To join INFO tables in a coverage, see the ESRI support article Join Info Tables.
Relating tables
Unlike joining tables, relating two tables simply defines a relationship between them. The associated data aren't appended to the layer's attribute table as they are with a join. Instead, you can access the related data when you work with the layer's attributes. To relate two datasets:
- Right-click the layer to which you want to join attributes, point to , and click .
- Select the relating fields from both layers, and then select a new name for the related layer.
- Click . A new layer will be added to the map.
This is document ande in the Knowledge Base.
Last modified on 2023-05-09 14:40:15.