For the given set of code
query1 = \'UPDATE orders SET last_trade_time = %s WHERE tradingsymbol like %s \' query2 = \'SET SQL_SAFE_UPDATES = 0;\' xx=\'TATACHE