Home >Backend Development >PHP Tutorial > 怎么从数据库读取无重复数据

怎么从数据库读取无重复数据

WBOY
WBOYOriginal
2016-06-13 13:07:37947browse

如何从数据库读取无重复数据
弱弱的问一下,如何从数据库无重复的读取数据

select aaa from biaoming where 1=1,这个是读取全部数据,但是有重复,怎么读取无重复数据,查询语句是什么?

------解决方案--------------------
DISTINCT

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn