title: sql query for fetching 10 rows with near values
body: <p>Please help me with writing a sql query - I have a table with <code>id</code>, <code>name</code> and <code>marks</code> columns.</p>
  
  <p>If I arrange the table in ascending order of marks, how can I fetch 5 names whose marks are close to a particular name.</p>