Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7786575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:26:20+00:00 2026-06-01T20:26:20+00:00

So I don’t know if this is acceptable or not. I have the following

  • 0

So I don’t know if this is acceptable or not.

I have the following tables: Document and Content Reviewers

Content_Reviewers has fields: cr_id, fk_ProductID. fk_DocumentID, Name, ContactInfo

1, 1, 3, 'Derek', '555-555-5555 Lives in Washington'
2  3, 35, 'James', 'California'

Document has fields: doc_id, fk_productID, sectionName, parentID, text

1, 1, 'Title', 0, ''
2, 1, 'Contributors', 0 'People who helped in some fashion'
3, 1, 'Editors', 2, 'People who helped edit the document'
...
35, 4, 'Editors', 33, 'People who helped edit the document'

So what i am trying to accomplish is that i can have many products, some or all products could have Editiors or the Contributors section. If they do i want to be able to link the ‘Content_Reviewers’ table with that section.

So my first inclinations are to:

  1. Setup a new Sections table to avoid duplication of 'SectionName' and 'Text'
  2. Add a new column such as TableData to Document that would contain the name of table associated to it? Content_Reviewers? (this is what i am not sure on how to do well)

The idea is that there could be at least a dozen sections with their own individual tables associated with that section but not necessary always available in a product.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T20:26:21+00:00Added an answer on June 1, 2026 at 8:26 pm

    This is a many to many cardinality. Should create a linking table

    example:
    Document Table, has id
    Product Table, has id

    create a document_product Table
    fk_Document.id
    fk_Product.id
    and make a combination unique key by both fk_Document.id and fk_Product.id to make sure no duplicate.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I don't know why this double json response are not successful: [{first_content:content,...}][{second_content:content,...}] So i
Don't know if this has been answered before. Have custom routes to users. If
don't know better title for this, but here's my code. I have class user
Don't know if this has been asked before, so point me to another question
I don't know if this question is trivial or not. But after a couple
I don't know if this has been asked before, but what i'd like to
Don't know why but I can't find a solution to this. I have 3
Don't dismiss this as a newbie question! It's not, I'm not, I've tried everything,
Don't know why but font is not displaying.Please help. CSS(in css folder): style.css: @font-face
I don't know if the correct title for this is hot deploy. I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.