sql

Tag

Cards List
#sql

Your business agent's memory should not be a vector store

Reddit r/artificial ↗ · 2026-07-09

Argues that vector stores are unsuitable for storing business records (orders, balances, etc.) because semantic similarity does not guarantee factual correctness; recommends using SQL for structured data and vector stores only for unstructured information.

0 favorites 0 likes
#sql

How to Achieve Pruning When Querying by Non-Partitioned Columns in PostgreSQL

Lobsters Hottest ↗ · 2026-07-09 Cached

This article demonstrates clever techniques to achieve partition pruning in PostgreSQL when filtering by non-partition key columns, going beyond conventional wisdom.

0 favorites 0 likes
#sql

Vacuum at the Page Level

Hacker News Top ↗ · 2026-07-06 Cached

The article provides a byte-by-byte analysis of PostgreSQL's VACUUM process at the page level, using pageinspect to show how dead tuple space is reclaimed.

0 favorites 0 likes
#sql

Using DSPy to evaluate and improve Datasette Agent's SQL system prompts

Simon Willison's Blog ↗ · 2026-07-02 Cached

Using the DSPy framework, the author evaluates and improves the system prompts for Datasette Agent's SQL query feature, identifying issues such as column-name guessing and error-retry loops.

0 favorites 0 likes
#sql

A complete ClickHouse OLAP engine, compiled to WebAssembly

Hacker News Top ↗ · 2026-07-01 Cached

chDB is a complete ClickHouse OLAP engine compiled to WebAssembly, enabling SQL queries directly in the browser via a SQL shell at wasm.chdb.io.

0 favorites 0 likes
#sql

Ray Tracer in SQL

Hacker News Top ↗ · 2026-07-01 Cached

A ray tracer implemented entirely in ClickHouse SQL queries, rendering images to PNG without any external code or UDFs. Demonstrates procedural terrain, CSG geometry, and parallel pixel computation.

0 favorites 0 likes
#sql

What actually moved the needle on Genie

Reddit r/AI_Agents ↗ · 2026-07-01

Practical tips for setting up a Genie AI-powered natural language query tool for sales/pipeline data, emphasizing that curated example SQL and metadata are more effective than free-text instructions.

0 favorites 0 likes
#sql

What ORMs have taught me: just learn SQL (2014)

Hacker News Top ↗ · 2026-07-01 Cached

The author argues that ORMs are more detrimental than beneficial and that developers should focus on learning SQL directly to avoid issues like attribute creep and inefficient queries.

0 favorites 0 likes
#sql

Pattern for giving an agent reliable "talk to my data warehouse" access without raw text-to-SQL

Reddit r/AI_Agents ↗ · 2026-06-30

A pattern for giving AI agents reliable access to data warehouses by using a curated semantic layer (Databricks Genie) instead of raw text-to-SQL, improving accuracy and governance. The agent calls Genie's Conversation API as a tool, receiving both natural-language responses and exact SQL.

0 favorites 0 likes
#sql

Waiting for SQL:202y: Stockholm (BMA) meeting report

Lobsters Hottest ↗ · 2026-06-30 Cached

Report on the June 2026 ISO/IEC WG3 meeting in Stockholm, detailing the acceptance of new SQL features such as QUALIFY, INSERT BY NAME, and SELECT list EXCLUDE into the standard draft, with implications for PostgreSQL.

0 favorites 0 likes
#sql

[Open Source] I built a Zero-Knowledge AI Agent. It analyzes your local Excel/DBs without ever uploading your raw data to the cloud.

Reddit r/AI_Agents ↗ · 2026-06-28

DWN.Bridge is an open-source desktop client that enables zero-knowledge AI analysis of local Excel files and databases by only sending schema to the LLM while executing queries locally.

0 favorites 0 likes
#sql

All you need is PostgreSQL

Lobsters Hottest ↗ · 2026-06-26 Cached

A detailed guide on using PostgreSQL as a single database to handle all aspects of a financial application, including schema design, state machines, triggers, and performance optimization.

0 favorites 0 likes
#sql

Structured Primary Keys

Lobsters Hottest ↗ · 2026-06-25 Cached

This article discusses how traditional primary key designs can isolate tables, and introduces structured primary keys as an alternative approach to improve SQL query performance and maintain relational integrity.

0 favorites 0 likes
#sql

How we made WINDOW JOIN parallel and vectorized

Hacker News Top ↗ · 2026-06-25 Cached

QuestDB introduces a dedicated WINDOW JOIN operator that is parallelized and vectorized, achieving up to 25x speedup over alternative databases for time-series aggregations around event timestamps.

0 favorites 0 likes
#sql

@Goutamdilesh: 10000+ Pages Programming Notes - FREE ❯ Java http://goalkicker.com/JavaBook/ ❯ Python http://goalkicker.com/PythonBook/…

X AI KOLs Timeline ↗ · 2026-06-25 Cached

A collection of free programming notes (PDFs) for Java, Python, JavaScript, SQL, DSA, C, and C++ from GoalKicker.

0 favorites 0 likes
#sql

Show HN: Bun-sqlgen – Type-safe raw SQL for Bun, no ORM

Hacker News Top ↗ · 2026-06-23 Cached

Bun-sqlgen is a type-safe raw SQL library for Bun that uses code generation to check queries against a live Postgres or SQLite schema, producing fully-typed, null-safe results without an ORM.

0 favorites 0 likes
#sql

Statistics that live in your SQL

Hacker News Top ↗ · 2026-06-22 Cached

the-stats-duck v0.6.0 is an open-source DuckDB extension that brings statistical analysis and plotting directly into SQL, including regression, bootstrapping, and ggplot-like visualization.

0 favorites 0 likes
#sql

@VincentLogic: The most painful thing about taking over someone else's project: opening the database, hundreds of tables, no documentation, no comments, and table names are just pinyin abbreviations. ChartDB solves this problem. Run a single SQL command to export the entire database structure and automatically generate an ER diagram. Which tables are related, how foreign keys are connected, all clear at a glance. No need...

X AI KOLs Timeline ↗ · 2026-06-22 Cached

ChartDB is a free and open-source tool that allows you to export the entire database structure by running a single SQL command, automatically generating an ER diagram. It supports multiple databases and has built-in AI natural language query functionality to help developers quickly understand database table relationships.

0 favorites 0 likes
#sql

GLARE: A Natural Language Interface for Querying Global Explanations

arXiv cs.AI ↗ · 2026-06-20 Cached

GLARE is an LLM-based interface that translates natural language questions into SQL queries over local explanation data, enabling users to interactively explore global explanations of black-box image classifiers.

0 favorites 0 likes
#sql

datasette 1.0a34

Simon Willison's Blog ↗ · 2026-06-16 Cached

Datasette 1.0a34 introduces built-in tools for inserting, editing, and deleting rows directly in the Datasette interface, a feature long overdue and inspired by Datasette Agent.

0 favorites 0 likes
← Previous
Next →
← Back to home

Submit Feedback