 <pre><code>SELECT * FROM ticket_message ORDER BY created_at DESC LIMIT 5; </code></pre> <p>If the framework won't let you say that, the fie on them.</p> <p>(<code>GROUP BY</code> is not appropriate.)<br> (Subqueries are not required.)</p>