Make value of another table become column and value : I have 2 table as bellow, i need select *topic_id* = 1.
If *website* = 1 and *store* = 1, *topic.title* must be "Title 1, web 1, store 1", this is *value* of *config_id* = 1, and *field*=title will become *topic.title*. How can i get this?

https://i.stack.imgur.com/KqgY3.png

https://i.stack.imgur.com/REOLi.png