I'm building a web application and I just received some basic foundation data from the client in a spreadsheet. I need to get the data into a MySQL database in a meaningful way so I can effectively query it later. What makes the most sense? Here's the particulars:
There are Departments, Classes *edit (classes are types of products like mens t-shirts, womens jeans etc...) and Vendors (and Products eventually...). 25 Departments, 300 Classes and 3300 Vendors. Departments share Classes as well as Vendors in some cases.
My web application will have Department pages that will display a list of vendors who have products that appear in the chosen department with a link to a vendor specific page. The vendor page will list their products sorted by class.
I could set up 3 or 4 tables I suppose but will that result in a well formed, efficient query when I build my application? Also, will that make for a normalized database that avoids update, delete anomalies?
This could really be more a question of how to select my data rather than how to structure my DB, but I figured I would start with structure and move to the query optimization.