title: mysql extract records from to specified quantity
body: <p>Web client requests records by batches of 10 specifying the <code>from</code> parameter. How do I need to write SQL query to select records from 1 to 10, from 11 to 20 and so on?</p>