Register and share your invite link to earn from video plays and referrals.

Search results for SQL
SQL community
One keyword maps to one global community path.
Create community
People
Not Found
Tweets including SQL
Creator of Sqlite on pull requests: "You say, oh, it's free. No. It's not free. What you're doing is asking me ... to maintain it for you, to to document it for you, to test it for you, to maintain it for you for the next 25 years. That's not free." Yep. Wise words from a wiser man than me. I've told people for the past decade and I have recent posts on here saying the same: the merge button is the easy part. Its the decade+ (Richard says 25 years) that follows where you've accepted the transfer of maintenance thats hard.
Show more
Let’s vibe code SQLite in rust
Run inference over millions of records — free of SQL, and without your data ever leaving Snowflake. Here's distributed batch inference at scale ⚙️ Title: Batch Inference at Scale URL: ⚙️ Overview A capability that runs distributed inference workloads on Snowpark Container Services (SPCS) with Ray as the execution framework. Inference runs as a dedicated distributed workload, supporting both traditional models and LLMs, consolidating complex operations into a single API call. ❓ Challenges Solved Many customers, especially those migrating from non-SQL systems, need batch inference decoupled from SQL. ・This is especially true for files and unstructured data at large scale ・Rearchitecting workflows around SQL-first patterns is a heavy burden 💡 Methodology & How It Works ・The input DataFrame is materialized and written to a stage as Parquet files ・A job is provisioned on SPCS; the primary node initializes as the Ray head and replicas join as workers ・Each worker reads staged data, performs inference independently, and writes results to an output stage ・Unified API: a single run_batch() call handles both structured and unstructured data ・Multimodal support (images, audio, video); workers load weights once and reuse across batches; JobSpec controls workers and GPU allocation 🌍 Use Cases ・Nightly summarization of millions of support tickets ・Product catalog enrichment via image-to-text generation ・Information extraction from scanned PDFs, audio transcription and labeling, video classification and description BatchInferenceTask integrates with Snowflake Tasks for DAG automation, and all processing stays inside Snowflake — running large-scale inference while preserving data governance. #Snowflake# #BatchInference#
Show more
Still shipping your entire schema to a Text-to-SQL agent on every request? You're losing both accuracy and money 💸 Here's how a knowledge graph fixes both. Title: How a Neo4j semantic layer makes your Text-to-SQL agent smarter and cheaper URL: 💸 Overview This post explains how to use a knowledge graph (Neo4j) as a semantic layer to make Text-to-SQL agents both smarter and cheaper. Instead of dumping the full schema every time, the agent retrieves only the subgraph relevant to the question — a GraphRAG approach. ❓ Challenges Solved Most implementations store schema info in static YAML or Markdown and send the whole thing on every request. That creates three serious issues. ・High token cost: transmitting the entire schema repeatedly is expensive ・Contextual noise: irrelevant tables degrade accuracy and trigger hallucinations ・Poor maintainability: flat files go stale as business semantics evolve 💡 Methodology & Proposed Approach The graph stores database structure (schemas, tables, columns, types), constraints, column dictionaries, a business glossary, and usage patterns. The agent retrieves only relevant context in three steps. ・Semantic similarity search: vector indices identify matching columns and terms ・Shortest-path search: find possible joins between identified tables ・Additional context: gather schema definitions, business terms, and sample values Results are formatted as JSON with tables and join paths in milliseconds. 🌍 Use Cases / Experimental Results The post reports improvements that matter directly for production. ・Token reduction: 20-30% on average, up to 10x on simple queries ・Accuracy (multi-table joins): ~98% (Neo4j) vs ~90% (YAML) ・Accuracy (complex CTEs with window functions): ~94% (Neo4j) vs ~85% (YAML) ・Token use scales with complexity (simple ~1,800 / multi-join ~5,000 / advanced ~7,300) The graph captures dynamic usage patterns like join frequencies and behavioral relationships, enabling continuous improvement that static files simply can't model. #TextToSQL# #KnowledgeGraph#
Show more
# Neo4j Features and Practical Usage 🔍 A query that becomes a five-way JOIN in SQL can be written in a single line of arrow-drawing — Cypher is the declarative query language for graphs. 🏷️ Title: Cypher (Declarative Graph Query Language) 🔗 URL: 📘 Overview Cypher is a declarative graph query language designed for Neo4j. Instead of specifying "how to retrieve," you express "what data you want" using ASCII-art-like patterns. It is the common language of graphs, shared across application, analytics, and operations. ⚙️ How It Works The core of Cypher is pattern matching. ・Nodes are written in parentheses `(node)` ・Relationships use square brackets and arrows `-[rel]->`, with direction shown by the arrow ・Labels, types, and properties can be written directly inside the pattern (`(:User {id: $id})`) The main clauses are: ・`MATCH`: search for patterns within the graph ・`RETURN`: project the results to return ・`WHERE`: filter with conditions ・`CREATE` / `MERGE`: create / create-if-not-exists-else-match ・`WITH`: compose multi-step pipelines Cypher aligns with GQL (the ISO graph query language standard) while keeping Neo4j extensions. As of Neo4j 2025.06, new features are added exclusively to Cypher 25, while Cypher 5 is frozen. 🛠️ Practical Usage A query that becomes multiple JOINs in SQL can be written as a single pattern. ```cypher MATCH (c:Customer {id: $id})-[:ORDERED]->(o:Order)-[:CONTAINS]->(p:Product) RETURN count(*) AS times ORDER BY times DESC ``` Always use parameters (`$id`) in queries. This helps with both injection prevention and execution-plan caching. 💡 Use Cases It is the foundation for any domain that asks questions about connections: aggregating customer purchase history, recommendations, tracing paths in fraud detection, and walking org charts. It is highly readable and expresses complex traversals in fewer lines than SQL. ⚠️ Caveats ・Do not build queries by string concatenation; always parameterize. ・Watch for version differences. New features center on Cypher 25, and Cypher 5 is frozen. Verify compatibility. ・Because it is declarative, how you write a query can change the execution plan significantly. Check heavy queries with PROFILE/EXPLAIN. #Neo4j# #Cypher#
Show more
Wataa 😈 Not safe for your imagination.
0
1
118
1.4K
Forward to community
Port Washington Little League's historic season falls short of Williamsport with loss to Darien
Drop "hii" if you want this stacked babe's premium DM content 🫦
Import the Wispr Flow dictionary into Codex! Wispr Flow stores its learned dictionary in a local SQLite database on macOS: ```text ~/Library/Application Support/Wispr Flow/flow.sqlite ``` Just tell codex to make sure to merge them with the existing `dictationDictionary` field in config.toml
Show more