You can do this with ALTER TABLE
f.e.
ALTER TABLE tablename ORDER BY columnname ASC;.
but be aware that the table does not remain in this order after inserts and deletes
More Related Contents:
- Should I use the datetime or timestamp data type in MySQL?
- Delete all Duplicate Rows except for One in MySQL? [duplicate]
- MySQL string replace
- What is the difference between utf8mb4 and utf8 charsets in MySQL?
- MySQL – Trigger for updating same table after insert
- How do I get the current time zone of MySQL?
- How to get the difference in years from two different dates?
- Mysql Convert Column to row (Pivot table )
- Writing optional parameters within stored procedures in MySQL? [duplicate]
- How to get all columns’ names for all the tables in MySQL?
- How do I get MySQL to use an INDEX for view query?
- Can I resolve this with pure mysql? (joining on ‘;’ separated values in a column)
- Restore the mysql database from .frm files
- Mysql insert random datetime in a given datetime range
- Greatest value of multiple columns with column name?
- insert data from one table to another in mysql
- MySQL UPDATE syntax with multiple tables using WHERE clause
- How does MySQL Auto Increment work?
- MySQL load data infile – acceleration?
- mysql – Dynamic column alias
- How do I lock on an InnoDB row that doesn’t exist yet?
- How can I achieve initcap functionality in MySQL?
- MySQL: How to retrieve a random row or multiple random rows?
- group by range in mysql
- MySQL update statement to store ranking positions
- Display all tables. Describe-like functionality
- Best tool for synchronizing MySQL databases [closed]
- Failed building wheel for mysql-python
- How to convert a varchar column type to date type without losing the dates
- Laravel – search with multiple keywords against multiple columns with the search result to be ordered in relevance