摘要:
1.语法: select 字段列表 from table1,table2 where 子句; select 字段列表 from table1 as 别名1 inner join table2 as 别名2 on 连接条件; 注解: 1.两个表进行内连接的时候必须加on条件(即两个表中相同的字段) 2 阅读全文
摘要:
1.语法:select 字段列表 from 子句 [where 子句][group by 子句][ order by 子句][having 子句][limit 子句]; 注解: 1.where子句对from子句返回的结果进行条件判断,满足条件时候,改行记录添加到结果集中 2.group by 子句对 阅读全文