There is no default sort order. Even if the table has a clustered index, you are not guaranteed to get the results in that order. You must use an order by clause if you want a specific order.
More Related Contents:
- Why do NULL values come first when ordering DESC in a PostgreSQL query?
- SQL Data models
- Sort by column ASC, but NULL values first?
- How to randomly select rows in SQL?
- What’s the difference between TRUNCATE and DELETE in SQL
- SQLite INSERT – ON DUPLICATE KEY UPDATE (UPSERT)
- How to update selected rows with values from a CSV file in Postgres?
- Strings as Primary Keys in SQL Database [closed]
- Can table columns with a Foreign Key be NULL?
- Deleting duplicate rows from sqlite database
- Decision between storing lookup table id’s or pure data
- How Can I use “Date” Datatype in sql server?
- How to replace a string in a SQL Server Table Column
- How many rows in a database are TOO MANY?
- Primary key or Unique index?
- How to run a stored procedure in sql server every hour?
- Composite Primary key vs additional “ID” column?
- Questions every good Database/SQL developer should be able to answer [closed]
- Why do you create a View in a database?
- Logging ALL Queries on a SQL Server 2008 Express Database?
- Best database field type for a URL
- “Order By” using a parameter for the column name
- MySQL – how to front pad zip code with “0”?
- How can I implement SQL INTERSECT and MINUS operations in MS Access
- Postgres Error: More than one row returned by a subquery used as an expression
- Does ‘Select’ always order by primary key?
- How do I create and query linked database servers in SQL Server?
- SQL for ordering by number – 1,2,3,4 etc instead of 1,10,11,12
- Temporal database design, with a twist (live vs draft rows)
- Executing SQL query on multiple databases