MySQL常用语句之查询数据

简单查询: select [distinct] *| {字段名1,字段名2,字段名3, ...} from 表名 [where 条件表达式1] [group by 字段名 [having 条件表达式2]] [order by 字段名 [asc|desc]] [limit [offset] 记录数] 查询所有字段有两种方法 第一种: 在select语句中列出所有字段名来
相关文章
相关标签/搜索