时间:2021-07-01 10:21:17 帮助过:46人阅读
内连接定义:仅将两个表中满足连接条件的行组合起来作为结果集。
关键词:INNER JOIN
select * from employees e inner join department d on e.employee_id = d.department_id where e.employee_id = "1";
等价于
select * from employees e,department d where e.employee_id = d.department_id and e.employee_id = "1";
以上就是mysql内连接怎么写的详细内容,更多请关注Gxl网其它相关文章!