Title: Relationship between two tables
Last modified: July 8, 2019

---

# Relationship between two tables

 *  Resolved [selenasmith](https://wordpress.org/support/users/selenasmith/)
 * (@selenasmith)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/relationship-between-two-tables/)
 * Is it possible to establish a relationship between two tables? For example:
 * Schools table:
    School ID School Name
 * Students table:
    Student Name School ID
 * The two tables are linked by School ID.
 * Thanks,
    Selena Smith

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [WPManageNinja](https://wordpress.org/support/users/wpmanageninja/)
 * (@wpmanageninja)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/relationship-between-two-tables/#post-11720542)
 * We don’t have this type of relationship but if you have your own mysql table 
   then you can do the relationship my writing sql query which is a pro feature.
 * Thanks
 *  Thread Starter [selenasmith](https://wordpress.org/support/users/selenasmith/)
 * (@selenasmith)
 * [7 years ago](https://wordpress.org/support/topic/relationship-between-two-tables/#post-11727094)
 * That’s what I thought. Thanks! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Relationship between two tables’ is closed to new replies.

 * ![](https://ps.w.org/ninja-tables/assets/icon-256x256.png?rev=3337819)
 * [Ninja Tables – Easy Data Table Builder](https://wordpress.org/plugins/ninja-tables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninja-tables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninja-tables/)
 * [Active Topics](https://wordpress.org/support/plugin/ninja-tables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninja-tables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninja-tables/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [selenasmith](https://wordpress.org/support/users/selenasmith/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/relationship-between-two-tables/#post-11727094)
 * Status: resolved