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

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

WBOY
Release: 2016-06-13 13:07:37
Original
945 people have browsed it

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

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template