update the sql to remove duplicate appointments
Merge branch 'dev' of https://github.com/Decidebloom/Intranet into dev