Jump to content

Database Question (Noob)


silverbadger

Recommended Posts

I've been working with MAMP on MAC and find it amazing. However I am now faced with designing a database for a client that looks like the following:

 

customer needs to:

 

see categories (eg plylining), then click on manufacturer (eg citroen), then vehicle (eg Citroen 96>02), then variation (short wheel/medium wheel etc) and see an image and description.

 

I am stumped as to how to set this database up.

 

Can someone please help :( Thanks in advance.

Link to comment
Share on other sites

Read up on database normalization:

http://dev.mysql.com/tech-resources/articles/intro-to-normalization.html

 

You will be looking at "one-to-many" and "many-to-many" relationships between data.

 

ie)Plylining could be manufactured by Citroen, and SomeOtherManuf, and AnotherManuf

Therefore, Plylining has a "one-to-many" relationship with the manufactures.

 

Graphically

[pre]

                  +-- Citroen

[plylining] -------+-- SomeOtherManuf

                  +-- AnotherManuf

[/pre]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.