title: How to merge this two query statement into one query statement
body: <pre><code>  1.  SELECT *  FROM instalmentsdetails WHERE instalmentName='Third Installment'AND studentFeeId='1'
    2.  select max(`receiptNo`)as `receiptNo` FROM instalmentsdetails 
  </code></pre>
  
  <p>Table instalmentsdetails </p>
  
  <pre><code>instalmentsDetailsId
  studentFeeId
  receiptNo
  instalmentName
  amount
  dueDate
  fineAmt
  waivedAmt
  scholarShip
  grandTotal
  status
  </code></pre>
  
  <p>Little confused .How to merge this two query statement into one query statement</p>
  
  <p><strong>P.S:</strong> One statement checks for the condition and the other checks for the max of receiptNo in that table
  I want both the values in one query</p>