I have an SQLite table that I need to sort. I am familiar with the ORDER BY
command but this is not what I am trying to accomplish. I need the entire table sorted within the database.
Explanation:
My table uses a column called rowed
which sets the order of the table (a key?). I need to sort the table by another column called name
and then re-assign rowid numbers in alphabetical order according to name
. Can this be done?