Subquery
Thanks a bunch.. exactly what I needed. *** Please allow me to mark threads as answered and I will, Thank you ***
View ArticleSubquery
Well, one main problem I see is that the sub-query is returning two values... a sub-query in a SELECT list can only return one value.If all you really need is the date, will this work?:SELECT DISTINCT...
View ArticleSubquery
Strange... part of my post didnt post. I am trying to enter a subquery with 2 colums. 900 and 200 are the values that could be present in the entity column. If both are I want to subtract the...
View ArticleSubquery
... And what do you mean by "Row"? Do you just mean the entity field has a value of 200 and 900? Or do you mean that, when sorted in a certain way, you want the 200th and 900th row of the RS_QCRcvr...
View ArticleSubquery
I am trying to get a row in the RS_QCRcvr table that = 200. It may or may not exist. But my goal is to pull another row that = 900 and get both dates then subtract the 2 dates (dates only) and return a...
View Article