Is it possible to reorder rows in SQL database? For example; how can I swap the order of 2nd row and 3rd row\'s values?
The order of the row is important to me since
Databases can store the data in any way they want. Using the "order by" clause is the only way to guarantee an ordering of the data. In your bookmark example, you could have an integer field that indicates the ordering, and then update that field as a user moves things around. Then ORDER BY that column to get things in the right order.