关于MYSQL的学习笔记--多表查询

内连接查询 1.隐式内连接查询(使用where条件消除无用数据) select * from emp,dept where emp.'dept_id'=dept.'id';  --查询员工表的名称,性别,部门表的名称     select emp.name,emp.gender,dept.name from emp,dept where emp.'dept_id'=dept.'id';     
相关文章
相关标签/搜索