Inline SQL Queries in Spreadsheets for Efficient Data Retrieval

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing spreadsheet applications require inefficient manual data entry and programming in a spreadsheet programming language, leading to excessive resource usage and duplication, especially for users unfamiliar with complex syntax or inefficient programs.

Innovation Solution

Implementing inline SQL queries within spreadsheet applications allows users to manipulate data more efficiently by enabling the use of structured query language (SQL) for data retrieval and manipulation, reducing manual data entry and resource usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If users manually enter data into spreadsheet cells, then data can be populated in the spreadsheet, but excessive data entry time and client device usage occur

Engineering Contradiction:
Improvedata entry efficiencyVSAvoiduser time for data entry
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent extracts the data retrieval function from manual user actions and implements it through automated SQL queries that directly connect to external databases, eliminating the need for users to manually enter data that can be obtained programmatically

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system enables self-service data population by allowing spreadsheets to automatically retrieve and populate data through embedded SQL queries, eliminating the need for manual data entry and reducing client device usage

Inventive Principle:
Principle #25Self-service

2Reliability

If users manually propagate data changes across the spreadsheet, then data consistency is maintained, but excessive user time and computational resources are consumed

Engineering Contradiction:
Improvedata consistencyVSAvoidtime to propagate changes
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent implements automatic feedback mechanisms where SQL queries continuously retrieve updated data from external databases and automatically update the spreadsheet, ensuring data consistency without manual intervention when underlying data changes

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system performs self-service data propagation by automatically detecting and applying data changes through embedded SQL queries, eliminating the need for users to manually propagate changes across the spreadsheet

Inventive Principle:
Principle #25Self-service

3Productivity

If users write programs in spreadsheet programming language to obtain data, then data can be retrieved programmatically, but the programs are inefficient and consume excess computational resources

Engineering Contradiction:
Improvedata retrieval capabilityVSAvoidcomputational resource usage
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The patent introduces SQL as an intermediary language that serves as a more efficient mediator between the spreadsheet and external databases, replacing inefficient spreadsheet programming language programs with optimized SQL queries that consume fewer computational resources

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system changes the programming paradigm parameter from spreadsheet-specific language to SQL, which is optimized for database operations and provides more efficient data retrieval with reduced computational resource consumption

Inventive Principle:
Principle #35Parameter changes

4Extent of automation

If users unfamiliar with spreadsheet functions attempt to programmatically obtain data, then data automation is attempted, but complex syntax and unfamiliarity lead to difficulties and inefficiencies

Engineering Contradiction:
Improvedata automation capabilityVSAvoidease of using functions
Core Design Contradiction:
Extent of automationVSEase of operation

Solution Approach 1:

The patent leverages the universality of SQL as a widely known and standardized language that users familiar with database operations can easily use, providing a familiar interface that reduces the learning curve and improves ease of operation for data automation tasks

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS12499117B2Inline structured query language queries in a spreadsheet
Publication Date: 2025.12.16 GOOGLE LLC
  • US12499117B2 patent drawing
  • US12499117B2 patent drawing
  • US12499117B2 patent drawing

AI summary

Techniques are described herein for implementing inline structured query language (SQL) queries, in a spreadsheet application. A method includes: receiving, via a user interface of a spreadsheet application, first input including an SQL statement, the first input being provided in association with a first cell in a first column and a first row in a spreadsheet in the spreadsheet application, and the SQL statement including a reference to a second column in the spreadsheet; storing the SQL statement in association with the first cell in the spreadsheet; executing the SQL statement to obtain a result, wherein executing the SQL statement includes obtaining at least one value from the second column in the spreadsheet; and displaying the result in association with the first cell in the spreadsheet.