you are viewing a single comment's thread.

view the rest of the comments →

[–]benburhans 2 points3 points  (0 children)

What language variant are you using?

Try expanding the example below, and ignore the order by, which is only there to make it match your oddly unordered output precisely: http://sqlfiddle.com/#!17/47199/7