Two table are connected to each other in which one property in a table is a primary key in another table
- Make a controller
- make a model
hasMany
Inside model you have to define this table has a one to one relation with table_name
suppose your column table value has many values mathing to one value in another table then