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.
我有一个包含名称的数据库。我需要把这些名字按字母顺序排列成4个数组->(AF)(GL)(MR)(SZ)。我可以使用任何策略吗?
查询数据库 4 次,每个范围一次。查询如下所示:
select * from T where Name >= 'G' and name < 'M' order by name