I have a column of my database which increases when I insert new rows. It doesn't increase numerically but with a mix of letters and numbers. So instead of doing 1 (for first insert), 2 ( for second insert), 3 (for third insert) and so on, it does i_1, i_2, i_3 and so on. I cannot change this method of increasing. Now I would select all the rows after a particular value (for example after the row which contains the value i_2), but I don't know how doing it, because if i do "where column_name>'i_2' it considers the length of the string.
Anyone could help me, please? Many thanks.