I have 2 MySQL tables:
categories (id int, name varchar(1000))
And
products (id int, name varchar(1000))
Each product can be under multiple categories. I'm thinking of adding column "category_ids" into the table 'products' with category Ids separated by semicolons, but this method is inconvenient for MySQL query.
Any other possible methods?