Python Time String To Datetime Sql Insert Multiple Rows From Select