i have a problem, lets say i make a Select search through several tables and end up with this table: http://oi59.tinypic.com/2iict36.jpg
And i want it to look like that ( for further processing)
http://oi60.tinypic.com/2vcz0wm.jpg
i could use || operator, but the problem is that i dont know how many diffrent values will be in each subgroup, so i cant really hardcode a few || because sometimes i will need to merge 2 fields, and sometimes 4 etc. Is there any way to merge fields with specified range? or to implement FOR loop, or something similar?
im quite new to SQlite, so any help would be appreciated