Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
タイムスタンプの列を持たずに、挿入タイムスタンプで選択クエリの行を並べ替える方法はありますか? 最近挿入された行を見つけたいのですが、タイムスタンプを挿入する列がありません。各行の内部レコードはありますか?
テーブルの主キー、外部キーはありません。
No、主キーの自動増分がある場合、結果を確認できます。ただし、2 つの連続した行が異なる日/月/年に挿入された可能性があります。そう、only depending on the primary you can't find out the recent records.
No
only depending on the primary you can't find out the recent records.