I tried this but nothing is returned because the mvt_loc field is a varchar (3) field with a space entered in front of the value like this' S2' (A space is in front of the S)Below is the create table and some values to go into the table.Thanks!What am I doing wrong?SELECT mvt_cdt, COUNT(cossn) AS pendddscnt, mvt_locFROM testWHERE mvt_typ = 'R' AND mvt_loc IN (' R*', ' S*', ' V*')GROUP BY mvt_cdt, mvt_locCREATE TABLE [dbo].[Test]( [COSSN] [char](6) NOT NULL, [MVT_TYP] [char](1) NOT NULL, [MVT_LOC] [char](3) NOT NULL, [MVT_DEST] [varchar](3) NOT NULL, [MVT_CDT] [datetime] NULL) ON [PRIMARY]insert into testselect '458962', 'R', ' S2', ' ', '3/15/1993' union allselect '454442', 'R', ' V5', ' ', '9/13/1996' union allselect '569962', 'T', ' V1', 'C19', '12/21/1999' union allselect '895962', 'T', ' 03', 'S24', '7/10/2002' union allselect '999962', 'T', ' S2', 'R42', '2/3/2003' union allselect '452262', 'R', ' S2', ' ', '1/22/2004' union allselect '458962', 'R', ' V3', ' ', '5/5/2004' union allselect '458962', 'R', ' V2', '858', '6/8/2004' union allselect '458962', 'T', ' S7', 'S24', '7/19/2004' union allselect '458962', 'R', ' 04', ' ', '4/8/2010'