I have data I am inserting into an SQL database from config files, structured like so:
[GROUP1]
Attribute1
Attribute2
[GROUP2]
Attribute3
Attribute4
I am new to SQL. Naively, each attribute can represent a column in my table, but I also want to preserve the Group # information. Is the best way to preserve that information to prepend the group name to the column name or is there a better way? E.g. instead of the column name as Attribute1, we have the column name as Group1_Attribute1