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 8222927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T14:26:42+00:00 2026-06-07T14:26:42+00:00

Scenario: Each order can only have one import file . So I created a

  • 0

Scenario: Each “order” can only have one “import file” . So I created a table with its main columns as *order_code* and *file_code* (Order_File Table)
Also Each “order” can have multiple “Genes” . So I created another table with its main columns as order_code and gene_code. ( Order_Gene table)

So now in front-end side, user picks an “order” from a combobox, We show the import file of that order and the lists of genes for that order.

I wanted to know your opinion about this schema design and if I am designing it wrong or it is correct? 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-07T14:26:44+00:00Added an answer on June 7, 2026 at 2:26 pm

    That sounds right if I’m understanding you correctly. The import file is an attribute of an order, and the Genes table is on the many side of a one-to-many relationship allowing many genes to be associated with one order, but each gene can only be associated with one order.

    If you want to associate many genes with many orders (i.e. ‘reuse’ records in the gene table for multiple orders) you’ll need to create a ‘link table’ with an order_code and a gene_code column, and create a record there for each link or association between the two tables.

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

Sidebar

Related Questions

My scenario is as follows. I have 7 tabs (one for each day) using
We have a scenario where multiple devices are connected to one com port. Each
I have one scenario where I want to change order of click events attached
I have a log file in the format below as you can see each
Scenario: I have an outline where I have links for my menu. Each link
I want to implement a scenario where two endpoints can securely communicate with each
I know this is not programming related, but I have a scenario. Each video
Scenario: I have the following structure; Group (parent) -> Item (child). A Group can
I hope some one more SQL wise can help me. Suppose the following table
Scenario: The system has number of components, each with its own POM. There are

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.