0
i have an really old database with a really bad table structure and I'm trying to create these tables with a better structure. For doing this, I need to match two tables, to get the id of a category.
Here are my two old tables:
table categorys:
| ID | catname | cat1 | cat2 | ca...