The SQL DISTINCT clause isn’t case sensitive, which means that your query might end up pulling records with different cases.