Hey all,
I have a select statement that I'm using in a query column to return the smallest date using the Min function. The problem I'm running into is I need NULL to be the "smallest" value.
For example I have this query:
Not sure how to implement that piece of functionality into that or what.
My end goal is to supply the single value of either the Min(EndDate) or NULL if it exists.
Thanks!!!
I have a select statement that I'm using in a query column to return the smallest date using the Min function. The problem I'm running into is I need NULL to be the "smallest" value.
For example I have this query:
Code:
MinEndDate: (SELECT Min(EndDate) FROM tblPlacementData b WHERE b.UserID = tblPlacementData.UserID)
Not sure how to implement that piece of functionality into that or what.
My end goal is to supply the single value of either the Min(EndDate) or NULL if it exists.
Thanks!!!