sql进阶语句实例

1 多表查询 通过where 将表进行关联 表human,student数据如下图: 将两表通过id字段进行连接 输出 select t1.id,t1.name,t1.age,t1.sex,t2.chinese,t2.math,t2.english from human as t1,student as t2 where t1.id  = t2.id; 2 视图 view 数据只可查看,不可操作
相关文章
相关标签/搜索