【发布时间】:2015-05-22 23:58:56
【问题描述】:
请随时查看我的最新项目:http://arda-maps.org:2480 arda arda 作为登录名。
现在查看select distinct(type) from Location
这里有 8 条记录(河流、湖泊、地区、城市、岛屿、房屋、山脉、山丘)。但实际上还有更多......
为了向您展示 distinct 并没有返回所有不同的类型,我们搜索一个具有另一种类型的特定顶点:
select * from Location where name = "Citadel of Gondor"
所以我是否以错误的方式使用 distinct。或者结果列表不完整的原因是什么?
【问题讨论】: