Question : do i need to use HAVING here?

see code..

i only need to records where there is only 1 unique hit.

530       BRUXEL                  BRAKEL      2
530      BRUXEL                  BREUGEL      2
530       BRUXEL                  BUDEL      2
4891 DOEDRECHT               DORDRECHT      1

BRUXEL rows should be removed. Casekey 4891 only has one result .. i only need those where 'plaatsnaam' has only 1 unique result.
1:
2:
3:
SELECT     casekey, plaatsnaam, woonplaatsnaam, MAX([dbo].[fn_Levenshtein](plaatsnaam,[woonplaatsnaam_tnt]))
FROM         case_tmp2_matching INNER JOIN as_plaatsnamen_totaal ON plaatsnaam IS NOT NULL AND plaatsnaam <> ''  AND [dbo].[fn_Levenshtein](plaatsnaam,[woonplaatsnaam_tnt]) <= 2
GROUP BY casekey, plaatsnaam, [woonplaatsnaam_nen]

Answer : do i need to use HAVING here?

OK, I'm confused.  These statements do not seem to be the same:

"when I am hired new" and "I got a job for oracle Dba remote working"

Are you looking for what to ask once you show up for your first day of work?

If so, you should already have a good idea what the duties are going to be.  I'd definitely ask for any corporate policies/standards as it pertains to your work.   There are ALWAYS several ways to do the same 'thing'.  Many shops have standardized.

Confirm this is what you are asking and I'll see if I can come up with anything more.
Random Solutions  
 
programming4us programming4us