SQL Query -- fetch first and last rows from a table Read more about SQL Query -- fetch first and last rows from a table