If you are a PHPMyAdmin or SqlBuddy user (like me 😉 ), then mostly probably you won’t be familiar with sql queries for rename a table or rename a column. So here I share the sql query to do those things via command line.
To rename the column:
To rename the table:
Add new column after a specified field: