首页 | 官方网站   微博 | 高级检索  
相似文献
 共查询到19条相似文献,搜索用时 156 毫秒
1.
关系数据库语言的国际标准在1987年被确定,到目前为止,版本由SQL—89标准、SQL—92标准升级到SQL—99标准,这些版本全称为SQL3。SQL现在已成为数据库领域中使用最为广泛的一个主流语言。它主要由数据查询、数据操纵、数据定义和数据控制四个功能组成。其中数据查询是SQL的核心功能,这其中多表查询也是最为复杂的查询,本文正是立足于SQL的多表查询在实际应用中的应用研究。  相似文献   

2.
数据查询功能使得数据收集、存储和维护工作变得更有意义,因为用户真正感兴趣的东西是符合需求的信息本身,这就是所谓的数据增值过程。由此产生的SQL语言就是一种应用广泛的高效数据查询工具,它已成为工业标准语言。但SQL语言的强大功能是以牺牲易用性为代价的,对于大多数非专业用户而言确实有点美中不足。QBE(Query By Example)语言因此脱颖而出。本文将探讨数据查询中SQL与QBE语言的应用。  相似文献   

3.
XQuery是一种用于从XML文档中获取数据的查询语言,是W3C组织于2007年发布的推荐标准.其在XML格式数据中的作用,类似于标准SQL语言在关系数据库中的作用.XQuery功能强大,得到XML原生数据库以及支持XML的关系数据库的支持.对全面支持XML技术的SOL Server 2005数据库中XQuery语言的实现与应用进行研究,探讨了SQLServer2005中实现XML数据查询的机制及其特点,分析了在SQL Server 2005中XQuery语言的运用,特别讨论了在SQLServer2005中对XQuery标准所做的扩展.即其通过XQuery实现对XML文档中元素的操作,并通过具体示例阐明了SQLServer 2005中XQuery标准及其功能扩展的实现.  相似文献   

4.
结构化查询语言SQL是一种介于关系代数和关系演算之间的数据操纵语言,是关系数据库数据操纵语言事实上的标准。本讲在概述部分,分析了SQL语言对关系数据库三级模式的支持,并对SQL的特点进行了细致的分析。  相似文献   

5.
数据查询是数据库管理系统(DBMS)的核心操作,数据库系统的主要功能是通过数据库支持的数据语言来实现,SQL语言提供了SELECT语句进行数据库的查询,该语句具有灵活的使用方式和丰富的功能。在程序中根据需求临时组装SQL语句,可以实现语句可变、条件可变的动态查询的设计要求。  相似文献   

6.
数据查询是数据库管理系统(DBMS)核心操作,数据库系统的主要功能是通过数据库支持的数据语言来实现.SQL语言提供了SELECT语句进行数据库的查询,该语句具有灵活的使用方式和丰富的功能。在程序中根据需求临时组装SQL语句,可以实现语句可变、条件可变的动态查询的设计要求。  相似文献   

7.
随着大数据云计算的发展,流数据管理越来越被重视,从早期的流数据管理系统(DSMS, Data Stream Management System)发展到现在的分布式流数据管理系统。但这些系统重点在于系统功能的实现,系统与用户的交互层面较为薄弱。本论文针对流数据管理系统与用户交互层面,选取了流系统持续查询语言CQL (Continues Query Language) 中支持监控的查询语句,结合SQL (Struct Query Language) 的语法规则做了相应的简化,设计了结构化持续查询语言CSQL,并通过ANTLR开发了词法和语法分析工具。另外,论文设计实现了可远程与系统交互的SDK(Software Development Kit)及客户端,提供登陆、查询、监控、删除和异步返回结果等功能,使分布式流查询系统的访问使用更为方便。  相似文献   

8.
运动目标时空查询语言是实现运动目标时空数据访问和分析的主要语言工具,是时空数据应用程序和运动目标时空数据库交互的查询语言。该文为了给用户提供方便的数据查询、数据操作和数据管理功能,运动目标时空查询语言的设计采用扩充商业对象关系数据库中标准SQL语言的方法。  相似文献   

9.
陈雪梅 《微机发展》2007,17(10):7-11
以ADO技术为数据库编程的基础,通过ADO对象的数据访问接口,用Microsoft提供的通用数据连接文件(.udl)来建立和测试ADO连接属性,动态建立可视化的数据源设置。利用Visual C 搭建的应用框架,在多种数据源间实现结构化查询语言(SQL)查询的功能。用示例说明,ADO建立的应用程序对数据库的操作与数据库系统的类型无关,它使应用程序把SQL语言作为标准语言来存取各种数据,从而进一步说明ADO技术在数据库应用领域的灵活性和高兼容性。  相似文献   

10.
基于SQL语言的粗糙数据查询   总被引:3,自引:0,他引:3  
查询在数据库中十分重要,而SQL是检索数据的一种强有力的工具。本文提出一种RRDB的粗糙查询方法,它扩展了标准SQL语言。实例表明了这种方法具有较好的应用前景。  相似文献   

11.
易佳  薛晨  王树鹏 《计算机科学》2017,44(5):172-177
分布式流查询是一种基于数据流的实时查询计算方法,近年来得到了广泛的关注和快速发展。综述了分布式流处理框架在实时关系型查询上取得的研究成果;对涉及分布式数据加载、分布式流计算框架、分布式流查询的产品进行了分析和比较;提出了基于Spark Streaming和Apache Kafka构建的分布式流查询模型,以并发加载多个文件源的形式,设计内存文件系统实现数据的快速加载,相较于基于Apache Flume的加载技术提速1倍以上。在Spark Streaming的基础上,实现了基于Spark SQL的分布式流查询接口,并提出了自行编码解析SQL语句的方法,实现了分布式查询。测试结果表明,在查询语句复杂的情况下,自行编码解析SQL的查询效率具有明显的优势。  相似文献   

12.
一种基于SQL的层次查询方法   总被引:2,自引:0,他引:2  
关系型数据库管理系统不适合表达层次模型问题,标准的SQL语言无法满足复杂的层次查询要求,但有许多实际应用系统,其结构和查询要求都呈现很强的层次特征。本文提出了一种在ORACLE DBMS环境下,利用C和SQL语言实现的层次查询方法,可广泛应用于工程数据管理信息系统的设计过程。  相似文献   

13.
Spatial SQL: a query and presentation language   总被引:11,自引:0,他引:11  
Recently, attention has been focused on spatial databases, which combine conventional and spatially related data, such as geographic information systems, CAD/CAM, or VLSI. A language has been developed to query such spatial databases. It recognizes the significantly different requirements of spatial data handling and overcomes the inherent problems of the application of conventional database query languages. The spatial query language has been designed as a minimal extension to the interrogative part of SQL and distinguishes from previously designed SQL extensions by: the preservation of SQL concepts; the high-level treatment of spatial objects; and the incorporation of spatial operations and relationships. It consists of two components, a query language to describe what information to retrieve and a presentation language to specify how to display query results. Users can ask standard SQL queries to retrieve nonspatial data based on nonspatial constraints, use Spatial SQL commands to inquire about situations involving spatial data, and give instructions in the Graphical Presentation Language, GPL to manipulate or examine the graphical presentation  相似文献   

14.
SQL语言的形式语义   总被引:2,自引:0,他引:2  
对SQL查询的形式语义的研究有助于形式地证明两条SQL语句是否等价,从而消除了自然语言的二义性。SQL标准对SQL的语义规则进行了定义,但是并没有很好地处理不完全信息问题。文中以中介逻辑谓词演算系统MFM为基础,构造一个形式的三值谓词演算模型EPMC,然后通过语法转化规则把SQL查询转化为EPMC,从而完整地定义了SQL查询的形式语义。  相似文献   

15.
关系谓词推演是集合论在关系数据库的逻辑查询中的理论基石,而SQL是具体实现该逻辑查询的标准计算机语言。特别是对于复杂全称量词的查询问题,很多情况下仅仅是集合论理论层面的推导,通过对复杂全称量词的结构化查询研究,利用集合论的关系谓词逻辑语义推演,通过实际案例对语言中复杂全称量词的分析和集合论推演,得到SQL的具体实现方法。  相似文献   

16.
The CQL continuous query language: semantic foundations and query execution   总被引:2,自引:0,他引:2  
CQL, a continuous query language, is supported by the STREAM prototype data stream management system (DSMS) at Stanford. CQL is an expressive SQL-based declarative language for registering continuous queries against streams and stored relations. We begin by presenting an abstract semantics that relies only on “black-box” mappings among streams and relations. From these mappings we define a precise and general interpretation for continuous queries. CQL is an instantiation of our abstract semantics using SQL to map from relations to relations, window specifications derived from SQL-99 to map from streams to relations, and three new operators to map from relations to streams. Most of the CQL language is operational in the STREAM system. We present the structure of CQL's query execution plans as well as details of the most important components: operators, interoperator queues, synopses, and sharing of components among multiple operators and queries. Examples throughout the paper are drawn from the Linear Road benchmark recently proposed for DSMSs. We also curate a public repository of data stream applications that includes a wide variety of queries expressed in CQL. The relative ease of capturing these applications in CQL is one indicator that the language contains an appropriate set of constructs for data stream processing. Edited by M. Franklin  相似文献   

17.
An important trend of current GIS development is to provide easy and effective access to spatial analysis functionalities for supporting decision making based on geo-referenced data. Within the framework of the ongoing SQL standards for spatial extensions, a spatial query language, called SQV/SDA, has been designed to meet such a requirement. Since the language needs to incorporate the important derivation functions (e.g., map-overlay and feature-fusion) as well as the spatial relationship and metric functions, the functionality of the FROM clause in SQL is developed in addition to the SELECT and WHERE clauses. By restructuring the FROM clause via a subquery, SQL/SDA is well-adapted to the general spatial analysis procedures using current GIS packages. Such an extended SQL, therefore, stretches the capabilities of previous ones. The implementation of SQL/SDA on the Internet adopts a hybrid model, which takes advantage of the Web GIS design methods in both the client side and server side. The client side of SQL/SDA, programmed in the Java language, provides a query interface by introducing visual constructs such as icons, listboxes, and comboboxes to assist in the composition of queries, thereby enhancing the usability of the language. The server side of SQL/SDA, which is composed of a query processor and Spatial Database Engine (SDE), carries out query processing on spatial databases after receiving user requests  相似文献   

18.
目前,XML已经成为事实上的数据表示和数据交换标准,XQuery是用来对XML文档进行数据查询的W3C候选推荐标准。结合XQuery规范的最新发展状况,介绍XQuery查询语言的主要特性,通过实例讨论XQuery语言在数据查询、转换等方面的应用。对SQL/XML和Xquery进行了比较,并分析了XQuery的实现与应用情况。  相似文献   

19.
SQL是一种结构化查询语言,它是当今的标准数据库语言,所有主要的数据库系统都使用它。文中主要讲解了基于Linux系统的SQL语言编译器语义分析方法。  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号