How do I select only the first 10 results of a query?
I would like to display only the first 10 results from the following query:
SELECT a.names,
SELECT Top(12) Month, Year, Code FROM TempEmp ORDER BY Year DESC,month DESC