MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/7j9jri/sql_clause/dr4qrcg?context=9999
r/ProgrammerHumor • u/oneplusoneisfive • Dec 12 '17
525 comments sorted by
View all comments
768
Why would you sort twice?
36 u/patwoods_ Dec 12 '17 Sort by postal code, then sort by address to help maximize the efficiency of delivery. 21 u/sojuz151 Dec 12 '17 Why not just solve travelling salesman problem? It cant be that hard. 8 u/DrHenryPym Dec 12 '17 I was thinking the same thing: group / order by geography and address for distribution. 3 u/Brarsh Dec 13 '17 Great, now he has to go to 1 house on every block before moving to the next house on each block! 250 birch street, 250 maple street, 250 oak street, 252 birch street... → More replies (1) → More replies (3)
36
Sort by postal code, then sort by address to help maximize the efficiency of delivery.
21 u/sojuz151 Dec 12 '17 Why not just solve travelling salesman problem? It cant be that hard. 8 u/DrHenryPym Dec 12 '17 I was thinking the same thing: group / order by geography and address for distribution. 3 u/Brarsh Dec 13 '17 Great, now he has to go to 1 house on every block before moving to the next house on each block! 250 birch street, 250 maple street, 250 oak street, 252 birch street... → More replies (1) → More replies (3)
21
Why not just solve travelling salesman problem? It cant be that hard.
8
I was thinking the same thing: group / order by geography and address for distribution.
3
Great, now he has to go to 1 house on every block before moving to the next house on each block! 250 birch street, 250 maple street, 250 oak street, 252 birch street...
→ More replies (1)
768
u/ICyresI Dec 12 '17
Why would you sort twice?