Aided by a previously asked question see (How to correctly convert SQL rows to columns?), I\'m attempting to apply to a MySQL connector script written in python. As seen by