示例表看起來是這樣的:獲取包含一列的兩個最高值的所有行
last_update | notes
-------------+--------------------
1449619200 | not that important
1449619200 | rather useless
1449705600 | interesting
1449792000 | very important
1449792000 | very useful
現在我想有一個SQLite命令輸出與兩個最新更新時間戳的所有行(即1449705600和1449792000),以便輸出表如下所示:
last_update | notes
-------------+--------------------
1449705600 | interesting
1449792000 | very important
1449792000 | very useful
該命令應該是什麼樣子?
顯示您的嘗試。 –