select * from tb1 where m=1 and g=1 and c=1 and id in(select [id] from tb2 where t=2)
解决方案 »
- SQL大牛求一复杂SQL语句
- sql2000 求最大连续和间隔,谢谢
- 数据库设计问题
- exec(' update ' +@paperTitle+ ' set questionType= ' +@questionType+)
- 只查询重复的记录,要怎么做啊?
- 菜鸟求助 sql2008连接问题
- 关于sql左右联问题
- mssql搜索查询优化
- 字冠匹配问题
- Windows 2003 Server 上安装了 SQL 2000,客户端为何连接不上?
- win2000在dos窗口下看到的中文字符都是乱码(全部显示的是?号)(高手帮分析一下什么问题)
- 求助:使用LogExplorer一定要在原来的服务器上吗???把数据库和日志附加到别的服务器上行吗?
select * from tb1 where m=1 and g=1 and c=1 and id in(select [id] from tb2 where t=2)
select * from tb1 where m=1 and g=1 and c=1 and id in(select [id] from tb2 where t=2)或者给出TB1 TB2 的表结构
2﹑?改為%
3﹑不知"="要不要改為"=="