I have a question. For everyone to understand this and an eventual answer I'll just show you. I have one table that's looking like this:
model | price
model1 | 10
model2 | 15
model3 | 20
model4 | 25
model5 | 30
And I want my new table to look like this:
models | total
model1, model2, model3, model4, model5 | 100
How can I do that? I heard there is a group_concat() function but I also heard that is not indicated to do that. Can someone explain?