ok i got this to work. here's the solution:declare @localeId intdeclare @defaultLocaleId intselect @localeId = LocaleIdfrom Localewhere LanguageCultureCode = 'es-MX'select @defaultLocaleId = LocaleIdfrom Localewhere LanguageCultureCode = 'en-US'select coalesce ( max (case when localeId = @localeId then DisplayName end), max (case when localeId = @defaultLocaleId then displayName end), '' ) as displayName from ProductLocale PLwhere LocaleId in (@localeId, @defaultLocaleId)group by ProductIdorder by DisplayName