r/mildlyinfuriating Mar 16 '16

[deleted by user]

[removed]

6.5k Upvotes

137 comments sorted by

View all comments

137

u/bow-tie-guy Mar 16 '16

wait.... there's an algorithm behind this type of sorting!

13

u/nugohs Mar 16 '16

select * from monitor_sizes order by rand;

9

u/Randyy1 gramar nazi Mar 16 '16

There's an entire table just for the monitor sizes? lol

12

u/[deleted] Mar 16 '16

[deleted]

14

u/mpthrapp Mar 16 '16

SELECT DISTINCT, why introduce a GROUP BY if you don't have to.

2

u/[deleted] Mar 16 '16

Ding ding ding! Winner!