Unlock instant, AI-driven research and patent intelligence for your innovation.

Structured query language query statement generation method and device and storage medium

A technology of structured query and language query, applied in special data processing applications, instruments, electrical and digital data processing, etc., can solve the problems of poor accuracy and poor effect of SQL query statements, and achieve the effect of improving accuracy

Active Publication Date: 2021-03-16
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF12 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method is usually not effective when faced with complex problems, that is, the accuracy of the obtained SQL query statement is poor

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
  • Structured query language query statement generation method and device and storage medium
  • Structured query language query statement generation method and device and storage medium
  • Structured query language query statement generation method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0026] In addition, it should be understood that the term "and / or" in this article is only an association relationship describing associated objects, which means that there may be three relationships, for example, A and / or B may mean: A exists alone, and A exists at the same time. and B, there are three cases of B alone. In addition, the character " / " in this articl...

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 an SQL query statement generation method and device and a storage medium, and relates to the technical field of artificial intelligence such as natural language processing anddeep learning, and the method can comprise the steps: segmenting a to-be-processed problem into at least two sub-problems; obtaining SQL subordinate sentences corresponding to the sub-questions respectively; and combining the SQL subordinate sentences to obtain an SQL query statement corresponding to the to-be-processed question. By applying the scheme provided by the invention, the accuracy of the obtained SQL query statement can be improved.

Description

technical field [0001] The present application relates to the technical field of artificial intelligence, in particular to a method, device and storage medium for generating structured query language query statements in the fields of natural language processing and deep learning. Background technique [0002] Semantic parsing (text-to-SQL) is the core technology of language understanding, which aims to automatically convert natural language questions into structured query language (SQL, Structured Query Language) query statements that can interact with databases. This technology can help users Obtain database information, reduce the threshold and cost of database use, etc. [0003] In practical applications, many problems are complex problems, and complex problems usually involve multi-table union, nesting, multiple operations, etc. Currently, for any problem, a pre-trained model is usually used to generate a SQL query statement corresponding to the problem. However, this ...

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): G06F16/242G06F16/2453
CPCG06F16/2433G06F16/2453Y02D10/00
Inventor 王丽杰
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD