Code:
create table #Foobahar (id int,Col uniqueidentifier)
insert #Foobahar values(1,'FD788D60-E5F8-4969-9733-F88186B7EE63')
insert #Foobahar values(2,'78E89339-F5A0-46B9-961E-AC4681B63075')
insert #Foobahar values(3,'BE9E0439-5626-42B5-955B-1FD831BF7CAF')
without running this, which GUID do you think will be returned
Code:
select min(Col) from #Foobahar
Denis The SQL Menace
--------------------
SQL Server Code,Tips and Tricks, Performance Tuning
SQLBlog.com, Google Interview Questions