title: MySQL (MariaDB) swap column positions by index, NOT using after
body: <p>I am using the lastest version of MariaDB.</p>
  <p>I have a simple table and want to swap positions of field 'test' with field 'gerge'. I can't retrieve the information of the whole column, which is why I can't use 'after'. (e.g. ALTER TABLE myTable MODIFY gerge INT AFTER id;).</p>
  <p>I've googled abit but there seems to be no easy solution to this. I am looking for something like that:</p>
  <pre><code>ALTER TABLE CHANGE INDEX 2 TO 1
  </code></pre>
  <p>Does anyone tackeled this issue?</p>
  <p><a href="https://i.stack.imgur.com/Znj8m.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Znj8m.png" alt="enter image description here" /></a></p>