SOLVED

Setting up a Table. One table for all columns, or each column a table? Does it make a difference

Copper Contributor

There seems to be a different response when setting up a table. E.g. Data in four columns- should this be one table, OR, should each column be its own table? Does it make a difference when using formulas on the individual columns?  Different formulae of course have different data  needs, so is there a "better solution" that can cover most contingencies?  Thanks. 

4 Replies
best response confirmed by PhilipLibman (Copper Contributor)
Solution

@PhilipLibman 

Do the data in one row "belong" together, for example first name, last name, date of birth and place of birth of a person? If so, you should create one table - you want the data to stay together in the same row.

 

Or are the data not related to each other, and could one column have more or fewer rows than another column? In that case, it's better to create separate tables, so that each can be manipulated independently from the others.

@HansVogelaar
Thanks for the quick reply. In this case, the formulae will query separate columns as needed, so better to create separate tables.
Much appreciated!
if the data in each column is related to each other set up all columns into one table
if the data in each column are not related then that's your prerogative whether you want to create the former or the latter also dependent on what type of table they are they are either a transaction table (which applies to the former) or a dim table (a lookup table) which in a way is usually applicable to the former and not the latter otherwise why the heck would you create several tables for dataset that are related to one another, the answer to that is to normalize the dataset so there wont be a lot of redundancy for example name01 and name02 lives in the same neighborhood so if your dataset requires their full addresses there would be a redundancy of city, state, and zip code in your table, whereas if you create a table of zip addresses comprising of city, state, zip all you have to enter after the street address in your first table is the zip code so when you finally need that info in some report the zip code can be used to query the city and the state thereby saving you the cost of gigabytes of disk space
Thanks for the detailed response. Much appreciated.
1 best response

Accepted Solutions
best response confirmed by PhilipLibman (Copper Contributor)
Solution

@PhilipLibman 

Do the data in one row "belong" together, for example first name, last name, date of birth and place of birth of a person? If so, you should create one table - you want the data to stay together in the same row.

 

Or are the data not related to each other, and could one column have more or fewer rows than another column? In that case, it's better to create separate tables, so that each can be manipulated independently from the others.

View solution in original post