I would like to know how an SQL query is parsed.
For Eg:
Select count(*) from Users where name = 'John' and age = '24'
Will it take the count of records with name ‘John’ first , and then from it filter according to Age? Or is it the other way round?
Run the Explain function on your query or better yet turn your query profiler on.