Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This example sorts fields from the item_ext table by item_hrid, and adds a column for the row number (sequence number):

SELECT

ROW_NUMBER () OVER (ORDER BY ie.item_hrid) AS seq_no,

...