Unusual text inserted in the SQL
That extra field is added from the Views module itself, in particular its views_plugin_query_default::add_signature() method, which is described as:


  Add a signature to the query, if such a thing is feasible.
  This signature is something that can be used when perusing query logs to discern where particular queries might be coming from.


If you look at its code, it is setting the view_name field.

function add_signature(&amp;$view) {
  $view-&gt;query-&gt;add_field(NULL, "'" . $view-&gt;name . ':' . $view-&gt;current_display . "'", 'view_name');
}