conn.execute("select sum(sl) as slsun from list where cpid in (select select id from chanpin where userid=675)"
解决方案 »
- 时间段查询的问题。
- 求教部署包含外部程序集的报表发布
- 请问这个Chinese_PRC_CI_AS排序规则是排什么序的?
- 各位大侠,帮帮忙,这句sql2005的语句为什么不能在sql2000中运行!
- 急,SQL查询问题!请求帮助!
- 存储过程是否可以作为子查询表,如果可以,我该怎么做,谢谢!
- 在前台的任何操作都会转成SQL语句,在送到数据库上执行吗?哪我们怎样可以看到这些最终SQL语句呢?我用的是SQLSERVER2000
- 如何写这个SQL语句--A表存IP范围,B表存IP,求B表中不在A表的IP范围内的IP
- 求一句SQL语句
- 问一个关于SQL-SERVER简单的问题
- 难啊难,救啊救(行列回转?)
- sql 数据排序问题
select id from chanpin where userid = 675)")
where cpid in (select id from chanpin where ...)
group by cpid
from chanpin
where id in(select id from chanpin where userid=675);
新手语句,请被见笑