I have a general doubt in sql. What is actually "Top 1 1" will do ? What is the meaning of the below query ?
select top 1 1 from Worker W where not exists (select 1 from Manager M where M.Id = W.Id)
what is the diff between select "TOP 1 1" and "SELECT 1" in sql server query ?