Database query method and apparatus
A query method and technology of a query device, which are applied in the computer field, can solve the problems of a large number of tables, a large amount of data, and low query efficiency, and achieve the effect of improving query efficiency and satisfying business statistics.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0070] refer to figure 2 , figure 2 It is a schematic flowchart of the second embodiment of the database query method of the present invention. Based on the first embodiment, in the second embodiment, after receiving the request for multi-table connection query of the database, and constructing multiple structured query statements for a single table according to the request, it also includes:
[0071] Step S21, sort the key fields of the structured query statement according to the preset sorting rules.
[0072] The preset sorting rule is that when the key field is Arabic numerals, it can be sorted in the order of 0 to 9, and it can also be sorted in reverse order; when the key field is Chinese or English, the first letter of Chinese pinyin or the first letter of English can be taken The letters are sorted in order from a to z, and can also be sorted in reverse order.
[0073] After sorting the specified key fields in the structured query statement, assign the structured q...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 