Hi guys,
I have a 1-M relationship where 1 Task will have Many updates. In a query I need to get all Tasks within a criteria, but only the Top 2 updates. I also need to be able to show Tasks even if they have no updates. I think this is possible using the TOP predicate and subqueries, but for the life of me I can't figure it out.
Tables:
Data_Tasks
Data_Task_Update_History
Thanks
I have a 1-M relationship where 1 Task will have Many updates. In a query I need to get all Tasks within a criteria, but only the Top 2 updates. I also need to be able to show Tasks even if they have no updates. I think this is possible using the TOP predicate and subqueries, but for the life of me I can't figure it out.
Tables:
Data_Tasks
Data_Task_Update_History
Thanks