共 4 篇文章
显示摘要每页显示  条
--选择了课程3,5,2 的学生 intersect 选择课程1,2,4的学生 交集--求选择了课程 2 并且 选择了课程 3 的学生 交集select s.stu_name from students s,couse c,stu_couse sc where s.id=sc.stu_id and sc.couse_id=c.couse_id and c.couse_id=2intersectselect s.stu_name from students s,couse c,stu_couse sc where s.id=sc.stu_id a...
添加摘要
数据库面试题数据库面试题1.基础知识点:1NF:第一范式。答:select * from ppp where num<=all(select num from ppp) 或者:select top 1 num from ppp order by num。答:复制表(只复制结构,源表名:A,新表名:B): select * into B from A where 1=0 拷贝表(拷贝结构,源表名:A,新表名:B): select * into B from A 四表联查: select * ...
帮助 | 留言交流 | 联系我们 | 服务条款 | 下载网文摘手 | 下载手机客户端
北京六智信息技术股份有限公司 Copyright© 2005-2024 360doc.com , All Rights Reserved
京ICP证090625号 京ICP备05038915号 京网文[2016]6433-853号 京公网安备11010502030377号
返回
顶部