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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:00:18+00:00 2026-05-17T19:00:18+00:00

If I have a parent and a child table filled with data, is it

  • 0

If I have a parent and a child table filled with data, is it trivial to add a new table between them?

For example, before introduction the relationship is:

Parent -> Child

Then:

Parent -> New Table -> Child

In this case I’m referring to SQLite3 so a Child in this schema has a Foreign Key which matches the Primary Key of the Parent Table.

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-05-17T19:00:19+00:00Added an answer on May 17, 2026 at 7:00 pm

    This may be too obvious, but…

    How trivial it is will be dependent on how much code has already been written that needs to change with this. If this is a new app, with little code written, and you’re just beginning to work on the design, then yes it’s trivial. If you have tons of functions (whether it’s external code, or DB code like stored procedures and views) accessing these tables expecting the original relationship then it becomes less trivial.

    Changing it in the database should be relatively non-trivial, assuming you know enough SQL to populate the new table and set up the relations.

    As with all development challenges, you just need to look at what will be affected, how, and determine how you’re going to account for those changes.

    All of this is a really long-winded way of saying “it depends on your situaiton”.

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

Sidebar

Related Questions

I have a parent/child relationship via our users table, with models as such: class
I am working with mysql and php and have a Parent Child table created
I have got a couple of tables with a parent child relationship. I want
I have a parent table and a child table related to the parent table
I have 2 tables (say parent and child table and 1 to many relation),
In a standard setup of Parent Child relation, lets say Project and Task. Where
I am trying to implement a Save As button to take the data in
hi i'm new to nhibernate and i read a lot of threads with similar
I've looked for this but no luck so far. I have two tables in

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.