fix syntax error in sql update 20130125

The error was:
ERROR: syntax error at or near "order"
LINE 4: ) order by name asc;

Order by is not allowed for DELETE
Merge remote-tracking branch 'jonnyjd/fix_update_20130125' into beta

* jonnyjd/fix_update_20130125:
  fix syntax error in sql update 20130125