Help with an Action Item SQL Query

SQL Server 2005.