# Viewing Related Data for one table

**URL:** <https://community.forestadmin.com/t/viewing-related-data-for-one-table/2301>\
**Category:** Help me!\
**Created:** [April 13, 2021, 10:48am UTC](https://community.forestadmin.com/t/viewing-related-data-for-one-table/2301 "2021-04-13T10:48:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mitchell\_Lloyd](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/mitchell_lloyd/32/1902_2.png) [@Mitchell\_Lloyd](https://community.forestadmin.com/u/Mitchell_Lloyd)\
**Post date:** [April 13, 2021, 10:48am UTC](https://community.forestadmin.com/t/viewing-related-data-for-one-table/2301/1 "2021-04-13T10:48:39Z")

</div>

This is a template you can use to report issues. You can also drag images, videos and include `Preformatted text`

## Expected behavior

Hey there folks,  
At the moment, I have a one-to-one relationship between two tables - **lessons** and **slides**.  
Lessons contains a foreign key **slide\_id** that references the primary key id in the **slides** table.  
My Lessons model currently looks likes this:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/a/a5fb83b841707813b2144c2b353f9b10701575e6.png)  
And the Slides model:  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/3/36d5b551b2185fe8cf87e2a456c7cf4864bba0aa.png)

## Actual behavior

But when I view the related data section in the UI, I can’t see the slides in the related data tab:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/a/a1cc9839be273dab234eae860c73acdcf4ba6e28.png)

What is the current behavior?

## Failure Logs

Nothing seems to be failing at the moment

## Context

Please provide any relevant information about your setup.

“express”: “^4.17.1”,  
“forest-express-sequelize”: “^7.3.1”,  
“sequelize”: “~5.15.1”,

---

<div class="post-metadata">

**Author:** ![arnaud](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud/32/32_2.png) [@arnaud](https://community.forestadmin.com/u/arnaud)\
**Post date:** [April 13, 2021, 12:45pm UTC](https://community.forestadmin.com/t/viewing-related-data-for-one-table/2301/2 "2021-04-13T12:45:58Z")

</div>

Hi @Mitchell_Lloyd,

If `lessons` belongs to `slides`, it is not a “one to many” relationship.  
As a consequence it is not displayed in Forest Admin in the “related data” section of a `lesson` record

If you want to find the reference to the single `slide` the `lesson` is attached to, you can find the relationship in the details page displayed as a field with a value that links to the associated `slide`.

I hope it helps.
