首页 | 本学科首页   官方微博 | 高级检索  
     检索      

在SQL语言中用Group By子句实现除法
引用本文:李大庆,胡小京.在SQL语言中用Group By子句实现除法[J].哈尔滨商业大学学报(自然科学版),2003,19(3):314-316.
作者姓名:李大庆  胡小京
作者单位:1. 哈尔滨商业大学,商务学院,黑龙江,哈尔滨,150030
2. 厦门市行政学院,电教中心,福建,厦门,361012
摘    要:在关系数据库中 ,用除法查询所给定的查询条件出自同一属性 ,求“至少满足”或“同时满足”条件的元组。而关系数据库标准查询语言SQL没有除法运算符 ,不能直接作除法 .给出了利用GroupBy子句实现除法的一种方法

关 键 词:关系数据库  关系代数  除法  SQL
文章编号:1672-0946(2003)03-0314-03
修稿时间:2002年11月18

Realization of division in SQL by using 'Group By' clause
LI Da qing ,HU Xiao jing.Realization of division in SQL by using ''''Group By'''' clause[J].Journal of Harbin University of Commerce :Natural Sciences Edition,2003,19(3):314-316.
Authors:LI Da qing  HU Xiao jing
Institution:LI Da qing 1,HU Xiao jing 2
Abstract:In the relational database system, the division of relational algebra is often used to query if those given conditions have the same property, and it must be all satisfy with the condition of 'at least ' or the condition of ' at the same time'. However, there are no division symbol in SQL, so the division can not be operated directly. Discussed a method to realize division in SQL by using 'Group By' clause.
Keywords:relational database  relational algebra  division  SQL  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号