http://qs321.pair.com?node_id=438692


in reply to Re^3: reordering a stack with little effort
in thread reordering a stack with little effort

you would simply ORDER BY NEXT instead of ORDER BY QUESTION_NUM

Sadly, no -- once you start rearranging the questions, the values in the "next" column need not be in ascending numerical order... I think you'll need to sort them in Perl rather than at the SQL DBMS.

  • Comment on Re^4: reordering a stack with little effort