https://etharshrouf.com/ar/article/226/example-1-group-by-instead-of-distinct