Často můžete tyto dotazy zrychlit tím, že obejdete distinct pomocí group by místo toho:
select my_table.foo
from my_table
where [whatever where conditions you want]
group by foo;
Často můžete tyto dotazy zrychlit tím, že obejdete distinct pomocí group by místo toho:
select my_table.foo
from my_table
where [whatever where conditions you want]
group by foo;