查询问题,请各位指点,高分相赠(在线等) 只是写个大概,视图和查询都有where子句的 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 视图和查询语句的数据源是同一张表吗?、如果视图是t1,查询是t2,可以这样写:select a.*,b.* from t1 a,t2 b where t1.id = t2.id 你要得到什么结果??union ??join ?? select *FROM table1 as A,table1 as Bwhere A.ID=B.ID select *FROM table1 a,table2 bwhere a.ID=b.ID 对不起,我的问题写漏一点视图是有groupby where 子句的所以不是那样的 select *FROM table1 a,(select col1,... from table2 group by ...) bwhere a.ID=b.ID 同一台机器安装2000 后安装2005 2000变得非常慢 存储过程整合问题 关于分组查询问题? log viewer could not read information 修改存储过程的内容 master..xp_cmdshell 问题 非常的急,问数据库死锁问题。 遍历10万条数据的效率 求一SQL语句 <----------ORA-01126 Problem---------> 高手指教,关于SQL的两个概念问题,一直不是很理解! 用什么样的SQL能实现这种功能,我想了好几天都解决不了,请高手帮忙,在线等待。。。。
如果视图是t1,查询是t2,可以这样写:
select a.*,b.*
from t1 a,t2 b
where t1.id = t2.id
FROM table1 as A,table1 as B
where A.ID=B.ID
FROM table1 a,table2 b
where a.ID=b.ID
FROM table1 a,(select col1,... from table2 group by ...) b
where a.ID=b.ID