MySQL查询语句

1.基本查询 查询指定列的数据: select 字段1,字段2,字段3,... from 表名 where 条件语句; 定义别名: select 字段1 别名1,字段2 别名2,字段3 别名3,... from 表名 where 条件语句; select 字段1 as 别名1,字段2 as 别名2,字段3 as 别名3,... from 表名 where 条件语句; 消除重复: select di
相关文章
相关标签/搜索