We help IT Professionals succeed at work.
Get Started

SQL (mysql)- normalization advice - Best way to design clients / suppliers tables

Last Modified: 2013-12-07
I'm building a new database in PHP / MySQL.

I have often wondered this and wanted to know what others think.

Lets say I'm building a "suppliers" table which holds information about a companies different suppliers.
I'm trying to decide if to build fields such as email address, and telephone numbers into the main suppliers table or whether to create a one to many relationship with a number of subtables.

In most cases suppliers will only have one email address or one main address but there are cases when they will have more.

therefore is it good practise or overkill to build the database table so in fact there are additional tables such as

"postal address"
all as seperate tables.

then I could even go further and use these tables for other entites such as "customers" etc.

Is this good advice or am I creating unnecessary complexity? is this just going to slow down my database performance and make coding harder as always having to think about linking the tables?

Thanks for any opinion.
Watch Question
This problem has been solved!
Unlock 4 Answers and 5 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE