I was wondering how a query like
SELECT * FROM A WHERE A.created_by = 1 AND (A.name LIKE %app% OR A.description LIKE %app%)
is being processed. I'm not if this is a valid query or not, but I think the idea is clear enough.
From my perspective, I'm not sure if the SQL Server processes every row through that condition and checks if it passes it and then returns all the rows that passed the condition, or if the SQL Server gathers a data set for each condition and then intersects/combines them to get the final data set (like created_by gathers a data set that is later intersected with the combined data sets gathered by the other two conditions), or it is done in other more abstract (at least for me) method.
I hope my question is specific enough. If I wasn't clear enough, please ask for further explanation that I will provide.