The Analysis and Realization of Database Language SQL
- Author
- CaiLei
- Advisor
- LiangHongJun
- School
- Tianjin University
- Major
- Computer Software and Theory
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 795
- Citations
- 7
Abstract
Commercial database systems in recent years , the continuous development , in addition to the continuous improvement of the large-scale database management software, Oracle, DB2, SQL Server , database -oriented small and medium-sized enterprises are endless , especially open source the MySql is most popular . But it has not yet own database system management software , and computer science students , learning to master database system implementations in theoretical research and practical application has a significant meaning . Start from compiler theory , research compilation process and knowledge based on research from the realization of the underlying data structure to the upper parsing process of database query language SQL . Several important aspects of the SQL language are discussed in detail , including : stored in the database table structure and its corresponding upper interface , with the index file and data file storage structure , and c language interface program ; application regular expressions , finite automata , context -free grammar corresponding knowledge of SQL language lexical , syntax analysis, and the use of a lexical analysis tool Lex Yacc parsing tools improve work efficiency and ensure the correct parser generated sex . In order to introduce the use of Lex, Yacc , also elaborated on the method and process to achieve a simple procedural language , and provides a good foundation for a non - procedural language SQL implementations .
Table of contents
The Chinese summary 3-4
ABSTRACT 4-7
Chapter 1 Overview 7-9 1.1 Introduction to database management systems
1.2 database system research purpose and significance 7-8
1.3 This paper studies the content and structure of 8-9
second database data storage 9-16
2.1 database file structure of the system tables the 9-12
2.1.1 index file 10-11
2.1.2 data files the 2.1.3 procedure effect 11
11-12
2.2 ground floor and the upper interface 12-14
2.3 further explore 14-16 < br /> Chapter Lex Yacc applications introduced 16-27
3.1 configuration Parser Generator to use 16-17
3.2 Lex 17-21
3.2.1 regular expression 18-19
3.2.2 Lex program format 19-20
3.2.3 examples 20-21
3.3 use Yacc 21-27
3.3.1 bottom-up parsing 21-24
3.3.2 Yacc , program format 24-25
the 3.3.3 syntax ambiguity 25-26
3.3.4 Yacc define your own types 26-27
Chapter IV programming language implementation 27-30
4.1 simple statement achieve to achieve 27-28
4.2 procedures and functions statement 28-30
Chapter database query language SQL implementation 30-44
5.1 SQL language introduced 30
5.2 SQL language Features the analysis 30-31
5.3 SELECT statement some useful insights to concerned authorities for further refinement of < br /> 5.3.1 using the SELECT statement 31-38
5.3.2 SELECT statement 38-44
Chapter VI summarizes 44-45 < br / > References 45-47
papers and research note 47-48
Acknowledgements 48
Related dissertations
- Linux-based PL/SQL Compiler
- Design and Develop of Instrument Virtual Computer Assembly Language Based on DSP
- Research on SQL Complier of Database Engine
- Implementation of the Parser of TTCN-3 by Parser Generator Based on the Windows System
- Stack -based virtual machine based development platform for the design and implementation of operational
- Study on the Construction of Agricultural Information Service System
- Study on the Integration and Application of the Second Land Survey Data
- Study on Database Construction and Application Research of Township Overall Land Use Planning
- Countermeasure Research on the Development of Digital Library Integrated Retrieval System in China
- The Design and Development of Unattended Remote Measurement and Monitoring System in Steel Business
- Design and Implementation on Three-dimensional Monitoring System of Data Center
- Large Network Monitoring System Based on ARM
- The Research on Fire-fighting Based on Image Processing in Large Space
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- Excogitation and Implementation of Monitor System for the Greenhouse’s Host Machine
- Design of Circuit Testing System of Vehicle Fuse Box Based on LabVIEW
- Battery Sorting Detect System Design and Application
- The Reliable Data Transmission System in the Maternal and Child Health Information Platform
- The Development of Configuration Software for Monitoring and Controlling Based on C#
- Design and Implementation of Teaching Website Based on JAVA