title: Trouble with Non-Boolean Types in HAVING/GROUP BY clause
body: <p>My instructions are to display INV_LINE_ITEM.FK_InvoiceNbr having the highest quantity.</p>
  
  <p>I've been working with different variations of the following query:</p>
  
  <pre><code>SELECT INV_LINE_ITEM.FK_InvoiceNbr
  FROM INV_LINE_ITEM
  GROUP BY INV_LINE_ITEM.FK_InvoiceNbr
  HAVING MAX(INV_LINE_ITEM.Quantity);
  </code></pre>
  
  <p>I keep receiving the error "An expression of non-boolean type specified in a context where a condition is expected, near ';'". I'm not really sure what this error means or how to fix my code.</p>
  
  <p>I've also tried using:</p>
  
  <pre><code>SELECT 
  STR(ILI.InvoiceNbr, 4) AS 'Invoice Number'
  FROM INV_LINE_ITEM ILI
  GROUP BY
  ILI.FK_InvoiceNbr, ILI.Quantity
  HAVING MAX(ILI.Quantity)
  </code></pre>