This?declare @TABLENAME table (FIELDKEY int not null, FIELDNAME int not null)insert @TABLENAME select 1, 1union all select 1, 1union all select 2, 0union all select 2, 0union all select 3, 0union all select 3, 1select FIELDKEY, CASE SUM(FIELDNAME) WHEN 0 THEN 'Not Started' WHEN COUNT(*) THEN 'Completed' ELSE 'In Progress' END as Statusfrom @TABLENAMEgroup by FIELDKEY
Ryan Randall - Yak of all tradesSolutions are easy. Understanding the problem, now, that's the hard part.