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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:47:04+00:00 2026-06-14T15:47:04+00:00

I have a store database with a list of stores, their ID, and 5

  • 0

I have a store database with a list of stores, their ID, and 5 rows for their 5 levels of parent/grandparent ID’s.

I also have store information such as address, phone number, products, etc, but all of these rows are in a separate table which also has store name and store ID, but not parents.

Currently i have all the store information in a separate table from the store IDs, and if i ever need to relate the parent ID to the info i connect the two using the store_ID.

So essentially the redundant rows “store_Id” and “store_name” could be removed if i made everything into one table.

But is that proper form or not?

  • 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-14T15:47:05+00:00Added an answer on June 14, 2026 at 3:47 pm

    As long as you don’t need a historical record of past properties of a store, i.e. you don’t need to know that a store moved from address1 to address2, you only need to know the current address, then I would combine the tables. It probably won’t make a noticeable difference as far as performance, but having the data in one table is easier than having to JOIN when needed. It will also save some storage space on the redundant columns and indexes. With the amount of data you’re storing and how it’s related, you don’t gain much from storing the details in a second table. If you had 20 TEXT columns for each store, then you could benefit from a details table, but as it is, you don’t need it.

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

Sidebar

Related Questions

I need to store information for staff. Each database instance is per parent company
I have a list of ordered objects stored in the database and accessed through
I have to store long strings in MySQL database using spring roo. I assumed
I have to store millions of entries in a database. Each entry is identified
I have settings that I store in my database. There is an entity class
I have 100000 Ids to store into our DataBase. Id is in string format.each
I have to use CoreData based database to store my data. At high-level my
My MySQL database can store the euro symbol just fine (as I have tested
I have this algorithm in Java to store passwords in database. I'd like to
I have been given the task to design a database to store a lot

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.