How are you making sure that the data is in the same order? There is no check here.
The safest way of doing this will be to store the keys first `info_keys = info.keys()` and then use the returned list on the creation of the SQL string and use that list to iterate here too.