I want to return top 10 records from each section in one query. Can anyone help with how to do it? Section is one of the columns in the table.
Database is SQL Serve
If you know what the sections are, you can do:
select top 10 * from table where section=1 union select top 10 * from table where section=2 union select top 10 * from table where section=3