我想将数据表中某个字段值作为option值,然而该字段有重复值,如何使其不重复显示在option中
请多多指教! 问题点数:36、回复次数:3Top
1 楼karma(无为MS MVP)回复于 2001-10-26 08:22:55 得分 18
select distinct 字段 from ....Top
2 楼liaogs(夜归人)回复于 2001-10-26 09:00:12 得分 18
这样的值要先在表查询时过滤掉
比如select distinct * from tablename where ...Top
3 楼tainyc(小蜜蜂)回复于 2001-10-27 08:43:07 得分 0
对两位深表感谢,使用distinct果然凑效!Top




