Hi Ryan, thanks for taking the time to reply. I'm using Python and thanks for pointing out c.execute('SELECT "past_time2", "past_time"'). It just gives me [('past_time2', 'past_time')] so my problem is here. I'll need to approach it from another direction.