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

  • Home
  • SEARCH
  • 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 5961657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:59:44+00:00 2026-05-22T18:59:44+00:00

1.) I have a DB where each entry represents a task. And out of

  • 0

1.) I have a DB where each entry represents a task.
And out of several dozens or even a hundred of task, there will be a special task (which is a milestone)
So, in this case, I have very few entries that requires an extra field to separate them from the majority.

I don’t want to create a second table, because this is the only fields that makes these milestone stone special, they share a lot of other fields with regular tasks entries.

Should I create another field just to hold a few TRUEs while the rest are FALSE by defaul

2.) For each of those tasks, it has a variable number of performers (depending on user input)
(To further things, each performer has multiple sub-performers of its own.) So I essentially am using a DB to describe a TREE structure.The way I have it now is, I will have 5 copies of the same task info if there are 5 performers, and occupy 5 entries. Is this the way to go if I’m not going to have more than 10,000 entries (incl. copies) in my DB

Thank you

This should clarify it

  1. Task1 (this is a milestone task)

    • performer1
      • sub-performer ID=21
      • sub-performer ID=542
    • performer2
  2. Task2 (this is not a milestone task)

    • performer2
      • sub-performer ID=231

Subperformer and performer are completely different group. No overlap at all. Subperformer are the group that provide inputs to performer, so performer can complete the task they’re assigned to.

  • 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-05-22T18:59:45+00:00Added an answer on May 22, 2026 at 6:59 pm

    I am not sure if this is what you want:

    tblTask with columns taskID, isMilestone, and everything you need.

    tblAgent with columns agentID and everything you need (these will be the (sub-)performers).

    tblPerformance with columns fk_agentID, fk_task

    tblSubperformance with columns fk_agentID_performer, fk_agentID_subperformer

    Being fk_ foreign keys referencing

    fk_agent -> tblAgent.agentID
    fk_task -> tblTask.taskID
    fk_agentID_performer -> tblAgent.agentID
    fk_agentID_subperformer -> tblAgent.agentID
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a database table. It has several hundred entries and each entry is
I have a CSV file with several entries, and each entry has 2 unix
I've got an asp.net application where each client will have their own data entry
I have a List and each entry has a dynamic count of attributes which
I have some hierarchical data - each entry has an id and a (nullable)
I have a dialog where each entry in a JTree has its corresponding options
I have a data.frame with 2 columns: Node A, Node B. Each entry in
I have a NSMutableDictionary of NSMutableSets. Each set entry is a string, something like
I have a cron entry that runs a script at a certain time each
I have a file that has one entry per line. Each line has the

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.