Bad sample. Give some example where the Rate is different.Also provide you expected output based on the new sample data.If you are serious, you will provide the sample data in this formatdeclare @test table (ZIP int, City varchar(11), DTA varchar(2), Rate smallmoney)insert @testselect 90001, 'Firestone', NULL, .0825 union allselect 90001, 'Firestone', 'Pk', .0825 union allselect 90001, 'Los Angeles', 'T', .0825 union allselect 90002, 'Los Angeles', NULL, .0825 union allselect 90002, 'Watts', 'T', .0825 union allselect 90003, 'Los Angeles', NULL, .0825 union allselect 90004, 'Los Angeles', 'T', .0825 union allselect 90004, 'Oakwood', NULL, .0825
Peter LarssonHelsingborg, Sweden