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.
オンラインで検索したところ、上位 N レコードを返す方法が見つかりました
SELECT * FROM tab1 LIMIT 10;
しかし、特定の列で最も高い値を持つ上位 N のレコードを検索したいのですが、その構文は何でしょうか? 前もって感謝します。
SELECT * FROM tab1 order by field desc limit 10;