0

I have following Table i want

 id | item_name  | parent_id | 
 1  | Shoes      | 0         | 
 2  | Jackets    | 0         | 
 3  | Formal     | 1         | 
 4  | Casuals    | 1         | 
 5  | Party Wear | 2         | 
 6  | Leather    | 5         | 
 7  | Imported   | 6         |

Now i want when i run query to get all cateogries of "Jackets" result should be like this

Jackets,Party wear,Leather,Imported|

Umer iqbal
  • 196
  • 1
  • 2
  • 15

0 Answers0