WordPress.org

Support

Support » Plugins and Hacks » Hacks » [Resolved] Don't Understand Relationship Between posts & term_relationships Tables

[Resolved] Don't Understand Relationship Between posts & term_relationships Tables

  • I’m working on a custom SQL query, and I honestly don’t understand how the posts table and the term_relationships table form the relationship illustrated on the ERD.

    Most every piece of custom SQL I’ve seen uses a LEFT JOIN between posts.ID and term_relationships.object_id — but these fields have nothing to do with each other.

    Guess I’m just at a loss about why I’m structuring my SQL queries like this.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Don't Understand Relationship Between posts & term_relationships Tables’ is closed to new replies.