I’m playing with Opencart’s 1.4.9.4 database. And as I’m not experienced with database I find the structure strange (hard,crazy). For example:
if I need to show the model and the name of a product I need to join 2 tables product and product_description, and the same approach for category, manufacturers etc.
There is a table is only two fields, product_to_category, fields: category_id and product_id. How many JOINs show I use, if I really should use JOINs, to make it work?
But one really odd thing for is to make a query where I get the product ID, NAME and MODEL with CATEGORY NAME and MANUFACTURER NAME, I have no knowledge to achieve that. It would involve the table, at least I think:
product, product_description, product_to_category, category_description and manufacturer.
Sorry for the mess, but my mind is a mess now!
I’m playing with Opencart’s 1.4.9.4 database. And as I’m not experienced with database I
Share
Sorry people I totally forgot about this:
MySQL SELECT Duplicated rows from OpenCarts DataBase
I had already asked that.