Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Multiple query method of database

A query method and database technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of complex query statement branches, limited memory, etc., achieve the effect of reducing the number of branches and improving operating efficiency

Active Publication Date: 2015-06-17
AEROSPACE INFORMATION
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, we commonly use the method of querying table data. When the query condition is determined, we can explicitly use SQL statements to realize it. However, when the query condition is a dynamic combination of multiple conditions, the query statement will be broken due to too many branches and the IF statement. The multiple nesting becomes quite complicated, especially under the embedded operating system, the digestion memory is limited

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multiple query method of database
  • Multiple query method of database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The technical solution of the present invention will be clearly and completely described below through specific embodiments. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0016] see figure 1 , figure 1 It is a flowchart of a multi-query method for a database according to an embodiment of the present invention. A multi-query method for a database proposed, comprising the following steps:

[0017] a. Determine whether the value of the query key field corresponding to the second serial number to the last serial number to be queried is the same as the value of the query key field corresponding to the first serial number to be queried, and the judgment result is different The first serial number...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a multiple query method of a database. The multiple query method includes the following steps that a, whether values of query key fields corresponding to the second serial number to be queried to the last serial number to be queried are identical to the value of a query key field corresponding to an initial serial number to be queried is judged one by one, and the judgment result of different first serial numbers in at least one continuous serial number is obtained so as to obtain a serial number set; b, the sequential numbers in the sequential number set serve as initial serial numbers to be queried, the sequential numbers between the initial sequential numbers and the next sequential numbers in the sequential number set serve as the second serial numbers to be queried to the last serial numbers to be queried, and the step a is repeated; c, the step a and the step b are repeated until obtained sequential number sets are empty sets, the last sequential numbers, corresponding to the empty sets, of the sequential number sets are obtained, and therefore repeating cut points of the values of the query key fields are obtained.

Description

technical field [0001] The invention relates to the technical field of data query, in particular to a method for data in multiple query tables of a database. Background technique [0002] The ultimate goal of designing a database and creating a database is to use the database. Working with data is the work of SQL (Structured Query Language, SQL for short) data manipulation language. The core of DML (Data manipulation language) is the select (select, here refers to a function commonly used in a computer SQL database, used to select objects) command, which is also the only command to query the database. select is the largest and most complex of the SQL commands. Many operations of select are derived from relational algebra and contain many contents of relational algebra. Even in SQLite (SQLite is an open source, embedded relational database, it does not have an independently running process, and coexists with all service applications in the application process. SQLite is po...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 张朝阳聂慧萍张磊高阳余彦陈皓杨森
Owner AEROSPACE INFORMATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products