数据库问题?

在数据库中的某一列中有很多重复的数据,怎样使读出的数据不重复?
---------------------------------------------------------------

select distinct content from yourtable
---------------------------------------------------------------

DISTINCT返回不重复结果

select DISTINCT * from tbl

http://www.zdnet.com.cn/developer/tech/story/0,2000081602,39038246-2,00.htm

Published At
Categories with Web编程
Tagged with
comments powered by Disqus