搜索A表和B表。怎么列出B表中不存在的记录? select * from A where id not in (select 课程id from B) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Select A.*From ALeft Join BOn A.ID = B.课程IDWhere B.课程ID Is Null A表结构:ID , 课程名 B表ID,成绩,学生ID,课程IDselect * from a where not exists(select 1 from b where 课程ID=a.id) select * from A where id not in (select 课程id from B)或select * from a where not exists(select 1 from b where 课程ID=a.id) 求教:sql server 服务启动20分钟后,速度就非常慢,怎么查找原因? 行转列问题 在存储过程里,怎么写自动编号啊 不自动重新统计是什么意思?应该设置成什么比较true还是false好 求救关于创建两表的问题 请问SQLSERVER的字符集关于中文的就有很多种,各自代表什么类型?? 用企业管理器产生一个数据库后,如何自动产生建库脚本?(在线) 我想问一个关于java,存储过程和dts的问题,请大哥指教! 急、急、急!!!!!! 怎么把DBGRID中的数据导出成为TXT文件? SQLServer2000与SQLServer2005 一个奇怪的密码比较问题,请高手协助
Select
A.*
From
A
Left Join
B
On A.ID = B.课程ID
Where B.课程ID Is Null
ID , 课程名 B表
ID,成绩,学生ID,课程IDselect * from a where not exists(select 1 from b where 课程ID=a.id)