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