@swasheck, then I would suggest that they would need to read the column names in the list
mylistobject = SELECT sql FROM sqlite_master WHERE tbl_name = 'table_name' AND type = 'table'
To create a new table with a column name is the primary key, then the value, and then repeat in the list, something much less messy than this in Python
for columnName in list: row = cursor.execute('SELECT ' + str(value) + 'FROM tableToBeTransposed WHERE COLUMN = ' + str(c_i) + ';').fetchone() cursor.execute('INSERT INTO newTable(c_i, values), (?,?)' (columnName, value))
source share