Hi All,
I have a CSV file with a column of data of category breadcrumb delimited by comma. What I want to do is query the database and find out the category ID.
The table structure is like this:
id
parent_id
category_name
sample data:
CSV:
Shoes,Hiking,Nike
MySQL
id, parent_id, category_name
1, 0, Shoes
2, 1, Hiking
3, 2, Nike
If you've done something like this before please share.
Thanks!