I have seen many queries with something as follows.
Select 1 From table
What does this 1 mean, how will it be executed and,
1
it does what it says - it will always return the integer 1. It's used to check whether a record matching your where clause exists.