Not an issue but a suggestion for feature. Allow the query string to show after the query so it could be reproduced on a function. ex.: wpdb::get_results....
$wpdb->get_results( "SELECT id, name FROM mytable" );
would show below the query results in plain text.