e 也不会,不懂楼主给出的语法?是sql server的吗?最好给出表结构
关注ing.........
关注ing.........
解决方案 »
- 多表关联如何优化
- SQL查询最接近的一条IP
- SQL高手进~~~
- 关于SQL求和的问题,十万火急,在线等答案。希望专家帮忙解决。
- 大数据量的表上的一列有大量相同数据,怎么提高以该列为条件时查询速度
- SQL Server 安装问题
- 在ACCESS里如何存放*.exe文件?
- sql server 不监听端口,无法连接到数据库
- 请问这个SQL怎么优化?
- 当调拨,销售,购进发生时,库存表的数量要同时改变.当购进的编码,库存表中没有时,则插入编码,库存表中有时,则更新数量.在存储过程中怎样判断?sql语句怎么写?在进销存中还有其他的方法和思路?mssql7.0
- 如何才能知道一个查询语句所需要的时间?
- [分享]北京大学课件(数据库原理与技术,数字图像处理,Com组件技术)
select branch-name from
(select branch-name,sum(balance) as value1 from account group by branch-name) a,
(select avg(value) as value2 from branch-total) b
where a.value1>=b.value2
branch-schema=(branch-name,branch-city,assets)
customer-schema=(customer-name,customer-street,customer-city)
loan-schema=(loan-number,branch-name,amount)
borrower-schema=(customer-name,loan-number)
account-schema=(account-number,branch-name,balance)
depositor-schema=(customer-name,account-number)语法是SQL的,没有基于具体的数据库系统。