Flip arguments of run functions for SQLs.