I’m fine tuning a stored procedure and each subquery I have acts (or at least appears to act) as a mini multiplier. I’ve tried a few different ways but now I’m not so sure it’s as easy as I thought it should be. I keep getting invalid relational operators. If this should be easy feel free to tell me to just keep trying.
I’d like to combine the following two comparisons but I can not find the correct syntax. I’ll list what I’ve tried so far after. Thanks in advance
WHERE T.Column_Name = (...Subquery)
AND S.Column_Name = (...Subquery) --same subquery as above
What I’ve tried so far are variants along this line
WHERE (T.Column_Name AND S.Column_Name) = (...Subquery)
WHERE (T.Column_Name, S.Column_Name) ...
WHERE (T.Column_Name AND S.Column_Name = (...Subquery))
any help is greatly appreciated
Try