一种SQL语句处理方法、数据库系统、设备和存储介质
By rewriting rules to automatically construct SQL statements and adding selection and grouping clauses, the problem of large development workload and errors caused by manually editing SQL statements in existing technologies is solved, and efficient time-segmented statistics are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING LANYUN TECH CO LTD
- Filing Date
- 2023-09-01
- Publication Date
- 2026-07-17
AI Technical Summary
Existing technologies require manual editing of multiple SQL statements to achieve time-segmented statistics when performing time-series queries, resulting in a large development workload and a high risk of errors, making it difficult to meet flexible statistical needs.
By rewriting rules to automatically construct SQL statements, adding selection and grouping clauses, and generating a second SQL statement for the target data to achieve time-segmented statistics, the development workload is reduced and consistency is improved.
It significantly reduced the probability of development errors, improved development efficiency, and met the requirements for flexible time-period statistical functions.
Smart Images

Figure CN117194473B_ABST