title: The column name id was not found in this ResultSet. i just want sum fee, sum amount and get column merchant_id
body: <p>my repository:</p>
  <pre><code> @Query(value = &quot;Select SUM(th.FEE_AMOUNT) as fee, SUM(th.TRANSACTION_AMOUNT) as amount,th.MERCHANT_ID &quot; +
          &quot;from TRANSACTION_HISTORY th where th.TRANSACTION_GROUP=:transGroup &quot; +
          &quot;and (th.TRANSACTION_STATUS not in(1,2)) and th.SRC_SYSTEM_ERROR_CODE = '00' &quot; +
          &quot;and th.CREATED_DATE BETWEEN :startDate And :endDate group by th.MERCHANT_ID &quot; +
          &quot;order by th.MERCHANT_ID asc&quot;, nativeQuery = true)
  List&lt;TransactionHistory&gt; selectTrxWd(@Param(&quot;transGroup&quot;) String transGroup, @Param(&quot;startDate&quot;) Date startDate, @Param(&quot;endDate&quot;) Date endDate);
  </code></pre>
  <p>my controller :</p>
  <pre><code>List&lt;TransactionHistory&gt; transhisList = transactionHistoryRepository.selectTrxWd(&quot;PAYMENT&quot;, startDate, date2);
  </code></pre>