4 points · by matti3 · 12y ago · 4 comments
`SELECT videoid FROM videos ORDER BY views DESC LIMIT 1`?
Hmm... any reason not to have used unsigned integers here?
And I wasn't suggesting using unsigned 32-bit integers now, I was curious why they weren't used before (the number of views seems to be a nonnegative quantity...).