I have two tables (one is actually a shapefile and the other one is a comma separated file).
I really need your help with joining the csv file table (which has many rows for one ID number) with the shapefile attribute table, so when I'll identify something in the map, it'll show me all those rows.
I tried joining, I also tried importing these to geodatabase and I tried to change the field type of the csv attribute table (because it didn't let me to join otherwise). But it didn't work, those other two rows went still missing.
My steps doing this with geodatabase files.
Then I imported the shapefile and the tabel:
I dragged both of these files to arcgis and joined the tables
And when I searched the ID I know has 3 rows in the original table, I saw that it hasn't added them here in the joined tables (here is only the first row
Related tables
There are none related tables after I've made the join.
But after I made the join and relate also, I could choose to see them in the table.
And I find a way to see the relates also in the indetify box, I had to open that "tree".
Best Answer
Esri provides a good resource: Joining the attributes from a table
What you need to do is peform a one-to-many join versus the one-to-one join. The issue you are running into with your data is that you have multiple rows in your table that share the same ID. When you perform a one-to-one join the first entry will be joined and the other rows with the same ID get "dropped". However when you have a one-to-many join then those similar ID are all joined to the same ID in your shapefile. Below provides more details and illustrations.
One-to-many and many-to-many relationships
When using data where a one-to-many or many-to-many relationship exists, you should use a relate or relationship class to establish the relationship between the datasets. However, it is possible to create a join under these circumstances. When you create a join in such a case, there are differences between how tools and other layer-specific settings work depending on the data source. If you are using geodatabase data to create the join, all matching records are returned. If you are using nondatabase data, like shapefiles or dBASE tables, to create the join, only the first matching record is returned.
This means that if you have created a 1:M or M:M join with geodatabase data and you generate a report, you see multiple records in the report, one for each corresponding match. The multiple matches are also seen when using a join field while symbolizing a joined layer, labeling, identifying features, generating a graph, and using either the Find or Hyperlink tool. If you are using the joined layer as input to a geoprocessing tool or in an export operation, the multiple matching records are used.
View table and can reference this as an alternative as well How To: Create a one-to-many join in ArcMap