 |
|
 |
|
Next: TCP/IP Error, rc1=22
|
| Author |
Message |
|
Schraalhans Keukenmeester
|
External

Since: Dec 23, 2005 Posts: 2
|
(Msg. 1) Posted: Tue Dec 27, 2005 6:55 am
Post subject: MySQL question, here? Archived from groups: comp>lang>php (more info?)
|
|
|
I have a question about the design of a specific mysql database.
My newsserver hasn't got many specific mysql related newsgroups and
those who are supported don't seem to be very active.
Since many of the MySQL work goes hand in hand with PHP this seemed the
best place to ask. Advice on a better place to shop for info is very
welcome.
My issue:
I have to create a db for a shop that sells several kinds of products
(furnaces, dishwashers, washing machines, coffeemakers and the like, and
also spare parts) with:
products
product categories
product category specific details
common specification details
(e.g. the specs for a dishwasher are mostly different from those for a
coffeemaker, but every product has weight, dimensions, color etc.)
I suppose I have to create tables for products, brands, types,
categories, but then there are the details. Should I simply throw all
possible details for all products in one table or is there a better way
? (Currently I can't see any other approach then to create a table for
each product category, and that seems rather unelegant/inefficient.
The number of different products/parts is estimated at 10- to 12000.
I hope I make myself clear. My English still lacks the finesse required
for proper description of my problem I am afraid.
TIA for your help and/or pointers to good mysql news sources.
Regards
Schraalhans >> Stay informed about: MySQL question, here? |
|
| Back to top |
|
 |  |
External

Since: Aug 11, 2004 Posts: 1367
|
(Msg. 2) Posted: Tue Dec 27, 2005 9:21 am
Post subject: Re: MySQL question, here? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Schraalhans Keukenmeester wrote:
> I have a question about the design of a specific mysql database.
> My newsserver hasn't got many specific mysql related newsgroups and
> those who are supported don't seem to be very active.
>
> Since many of the MySQL work goes hand in hand with PHP this seemed the
> best place to ask. Advice on a better place to shop for info is very
> welcome.
>
comp.databases.mysql
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex.DeleteThis@attglobal.net
================== >> Stay informed about: MySQL question, here? |
|
| Back to top |
|
 |  |
External

Since: Apr 21, 2004 Posts: 38
|
(Msg. 3) Posted: Tue Dec 27, 2005 6:55 pm
Post subject: Re: MySQL question, here? [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Schraalhans Keukenmeester wrote:
> I have a question about the design of a specific mysql database.
> My newsserver hasn't got many specific mysql related newsgroups and
> those who are supported don't seem to be very active.
<snip>
> I suppose I have to create tables for products, brands, types,
> categories, but then there are the details. Should I simply throw all
> possible details for all products in one table or is there a better way
> ? (Currently I can't see any other approach then to create a table for
> each product category, and that seems rather unelegant/inefficient.
>
It's dead simple - you normalize your data. There's no end of books or web
pages on the topic.
Now of course there's more than one valid normailzed strucure for a
relational database, but once you get that far you should know how to
decide which is the most apposite solution.
C. >> Stay informed about: MySQL question, here? |
|
| Back to top |
|
 |  |
| Related Topics: | mysql question - If I write an update script, so people can upgrade their software to the newest version I've written, and since the last version I've created a new table in the database, so I want to add it, if it does not already exist, is the syntax something like ..
Rookie PHP/MySQL Question - In querying a database ($result=query_db("SELECT photo_dir, photo_name FROM photograph_photo WHERE photo_dir = '$dirToCheck'"); is $result an array (where I could used a "in_array() function)? Thanks, Ian
connection to mysql in question. - Using XP2, Apache2, php5.0.4 and mysql 5.0.18. All seem to be working individually but I seem to be having a problem with php files not connecting to the database. Is there an easy way to check this? Some like <?php phpinfo(); ?> TIA
MySQL design question - I'm creating an application for multiple cities (about 20-50 cities). I'm not sure whether to use a single table to store for all cities' items or break each one out into a seperate table for each city. I know a seperate tables will be faster for..
MYSQL ORDER BY question, sorting numbers - hi i have the following ORDER BY `tabelno` which gives me 1 10 11 12 13 14 15 16 17 18 19 2 20 when i want 1 2 3 etc how can i achieve this? thanks |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|