title: Query inside Laravel gives different results than from phpMyAdmin
body: <p>Here is my query :</p>
  <pre><code>$posts = DB::table('posts')
      -&gt;join('articles', 'article_id', '=', 'articles.id')
      -&gt;join('users', 'posts.user_id', '=', 'users.id')
      -&gt;select('posts.*', 'articles.title', 'users.name')
      -&gt;orderBy('posts.created_at', 'desc')
      -&gt;get();
  </code></pre>
  <p>The output of dd($users) is:</p>
  <pre><code>array:2 [▼
  0 =&gt; {#369 ▼
  +&quot;id&quot;: 2
  +&quot;created_at&quot;: &quot;2021-02-24 14:37:59&quot;
  +&quot;updated_at&quot;: &quot;2021-02-24 14:37:59&quot;
  +&quot;is_active&quot;: 1
  +&quot;title&quot;: &quot;Uthando (Love) SA's COVID focus&quot;
  +&quot;body&quot;: &quot;ebhbe&quot;
  +&quot;article_id&quot;: 1
  +&quot;user_id&quot;: 1
  +&quot;name&quot;: &quot;Paul Godard&quot;
  </code></pre>
  <p>I have been pulling my hair off to understand why the title of the associated article is not there.  So I ran the same query in phpMyAdmin:</p>
  <pre><code>SELECT posts.*, articles.title, users.name FROM posts JOIN articles ON posts.article_id = articles.id JOIN users ON posts.user_id = users.id ORDER BY posts.created_at DESC;
  </code></pre>
  <p>... which displays the title of the article correctly!</p>
  <p>Then I use the query in Laravel:</p>
  <pre><code>$posts = DB::select(&quot;SELECT posts.*, articles.title, users.name FROM posts JOIN articles ON posts.article_id = articles.id JOIN users ON posts.user_id = users.id ORDER BY posts.created_at DESC&quot;);
  </code></pre>
  <p>... and it is still not working!</p>
  <p>Why is going on there?</p>