Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
grumpylittleted
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
grumpylittleted
1y ago
So how do you "know" when you can safely omit DISTINCT for your shiny new query SELECT x FROM t ? Oh you looked the schema for t and it said x has a PRIMARY or UNIQUE constraint? Ah well two minutes after you looked at the schema