回答編集履歴
1
link add
test
CHANGED
@@ -3,3 +3,8 @@
|
|
3
3
|
できません。
|
4
4
|
`order by`をつけない場合の`select`の結果は、どんな順番で取得されてもいいという仕様になっています。
|
5
5
|
`order by`をつけないとシステム側の都合で勝手に決められた順番でレコードが取得されますので、特定の順番でレコードを取得したい場合は`order by`をつけてください。
|
6
|
+
|
7
|
+
[Order by - Wikipedia](https://en.wikipedia.org/wiki/Order_by)
|
8
|
+
> ORDER BY is the only way to sort the rows in the result set. Without this clause, the relational database system may return the rows in any order.
|
9
|
+
>
|
10
|
+
> ORDER BYは、結果セットの行を並べ替える唯一の方法です。この句がないと、リレーショナルデータベースシステムは任意の順序で行を返す可能性があります。
|