11 ms·
I don't belive this is correct for postgres. It's true for other RDBMS, I believe. <https://medium.com/@smitagudale712/distinct-vs-group-by-in-sql-server-b6252
by CabSauce 5y ago
I don't belive this is correct for postgres. It's true for other RDBMS, I believe.
<https://medium.com/@smitagudale712/distinct-vs-group-by-in-sql-server-b62527285f9c https://medium.com/@smitagudale712/distinct-vs-group-by-in-s...>
- freeest-will 5y agoI encountered this problem in Postgres 13. https://blog.timescale.com/blog/how-we-made-distinct-queries-up-to-8000x-faster-on-postgresql/ https://blog.timescale.com/blog/how-we-made-distinct-queries...