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.
自動インクリメント ID を使用して、テーブルの特定の範囲、たとえば #1000 ~ 5000 を選択する必要があります。構文はどうあるべきですか?
SELECT column1, column2 FROM table WHERE columnID BETWEEN 1000 and 5000
SELECT * FROM table WHERE id BETWEEN 1000 AND 5000