Viewing 3 posts - 1 through 3 (of 3 total)
you can try
avg(isnull(age,0))
September 10, 2003 at 9:31 am
#473461
That is what exactly I was doing - getting the cost, and storing in temp table for each tid. But I want to avoid the use of temp table as...
September 10, 2003 at 8:15 am
#473432
COST(TID) is a bunch of select statements from different tables based on the value of tid. I can use union of all those select statements and write a single query,...
September 9, 2003 at 4:29 pm
#473325