The question is simple. Which request will be faster:
SELECT TOP 1 value FROM table ORDER BY value
or
SELECT TOP 1 MIN(value) FROM table
We can assume that we have two cases: case 1. There is no index and case 2. With an index by value.
Any ideas appreciated. Thank you
source
share