Suppose I want to store values a,b,c in a SQL table One option I have to store in one single column of a SQL DB by a separator like a-b-c (considering a,b,c values do not contain a '-' ) and then parse it by PHP after retrieving it. Another option is I should store all three values in different columns.
My question is:
Will storing in one column+retrieving+parsing take more time?
or
Storing in three different columns and retrieving it will take more time and resources?
Note: At any time I will need all three values of a,b,c i.e. if I am retrieving 'a' then I need to retrieve b and c too.