title: PHP/Laravel get rows with certain column values
body: <p>As can be seen in the linked image, I want to query the records that have the same chapter number (skipping the zeros). Let's say I have 50 chapters, so the query will yield 50 sets, each set corresponding to certain column value i.e. chapter number.</p>
  <p><img src="https://i.stack.imgur.com/UWnkh.jpg" alt="data table with the same chapter numbers" /></p>
  <p>How can I limit the query to that in my Laravel controller?</p>