set statistics io on select min(Id) from Users where ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

set statistics io on

--select min(Id), max(Id) from Users

--select min(Id), max(Id), count(*) from Users

--select min(CreationDate), max(CreationDate), count(*) from Users

select min(Id) from Users
where year(CreationDate) = 2023

select min(Id) from Users
where year(CreationDate) = 2022

select min(Id) from Users
where year(CreationDate) = 2018

select min(Id) from Users
where year(CreationDate) = 2017

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results