I’m having trouble wrapping my head around how to set this up. I have two tables:
- Projects
- Sections
1 project can belong to many sections.
1 section can have many projects.
- How would I go about setting this up, would this be a many to many relationship or one to many?
- Would it best if I created a lookup table?
This is a simple 1-to-many relationship . The 2 requirements you stated above amount to the same thing. No lookup table is required. In your sections table you simply have a fk back to the projects table