sql 语句

来源:互联网 发布:决战武林进阶数据神弓 编辑:程序博客网 时间:2024/06/01 10:47

查询外键所在表的字段

SELECT name from employee,device where employee.id=device.holder_id

select   你要查的字段   from   表1,表2   where   表1.id=表2.id   and   别的条件

原创粉丝点击