Kaptaan Jack to Programmer Humor@lemmy.ml • 2 years agoAlphabetically sorted months. But WHY?lemmy.mlimagemessage-square39fedilinkarrow-up1637arrow-down113
arrow-up1624arrow-down1imageAlphabetically sorted months. But WHY?lemmy.mlKaptaan Jack to Programmer Humor@lemmy.ml • 2 years agomessage-square39fedilink
minus-square@VirtualAlias@reddthat.comlinkfedilink6•2 years agoYeah, I was going to say they just left a default alphabetical sort to their global droplist component and called it a day. Probably works fine in most contexts, but this one - not so much.
minus-square@QuaternionsRock@lemmy.worldlinkfedilink7•edit-22 years agoOr shitty SQL. SELECT MAX(day_of_month), month FROM why_does_this_table_exist GROUP BY month
Yeah, I was going to say they just left a default alphabetical sort to their global droplist component and called it a day. Probably works fine in most contexts, but this one - not so much.
Or shitty SQL.
SELECT MAX(day_of_month), month FROM why_does_this_table_exist GROUP BY month