title: Non Group by column in select working in one machine and not in another
body: <p>I have two machines and I am trying to run the below-mentioned query in both of them. </p>
  
  <pre><code>SELECT 
      bdm.brand_id AS brandId,
      bdm.brand_name AS brandName,
      fse.seller_code AS dummySeller,
      bdm.feed_source AS feedSource
  FROM
      `brand_distributor_mapping` bdm
          JOIN
      `feed_source` fse ON bdm.feed_source = fse.name
  GROUP BY bdm.brand_id ,bdm.feed_source;
  </code></pre>
  
  <p>It's working on one machine and giving Error code 1055 in another.</p>
  
  <p>Mysql version of both machine:</p>
  
  <ol>
  <li>Not working - mysql  Ver 14.14 Distrib 5.6.19, for Linux (x86_64) using  EditLine wrapper.</li>
  <li>Working - mysql  Ver 14.14 Distrib 5.5.53, for debian-linux-gnu (x86_64) using readline 6.3</li>
  </ol>