DEV Community

select * from SQL

Posts on tips and tricks, using and learning about SQL for database development and analysis.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
15 SQL window function problems you can run right now (with answers)

15 SQL window function problems you can run right now (with answers)

1
Comments
1 min read
SQL Dojo - Learn SQL the way a martial art is learned

SQL Dojo - Learn SQL the way a martial art is learned

1
Comments
1 min read
SQL GROUP BY and HAVING: Find Your Top Customers and $3,000 Key Accounts in Eight Rows of Orders

SQL GROUP BY and HAVING: Find Your Top Customers and $3,000 Key Accounts in Eight Rows of Orders

Comments
4 min read
Transaction Monitoring Rules in SQL: Build and Test AML Detections with DuckDB

Transaction Monitoring Rules in SQL: Build and Test AML Detections with DuckDB

Comments
19 min read
A read-only SQL dashboard for Laravel

A read-only SQL dashboard for Laravel

Comments
2 min read
Odoo filestore too big? Find out what is filling it before you delete anything

Odoo filestore too big? Find out what is filling it before you delete anything

Comments
4 min read
GA4 BigQuery UNNEST: How to Extract event_params Without the NULLs and Errors

GA4 BigQuery UNNEST: How to Extract event_params Without the NULLs and Errors

Comments
7 min read
Chunking for RAG without losing the page number: per-page chunks in PostgreSQL

Chunking for RAG without losing the page number: per-page chunks in PostgreSQL

Comments
6 min read
Modernise old OLAP cubes without retraining your Excel users

Modernise old OLAP cubes without retraining your Excel users

Comments
3 min read
Last Year, Share of Total, Stock at a Date: One Line Each in an XLTable Cube

Last Year, Share of Total, Stock at a Date: One Line Each in an XLTable Cube

Comments
10 min read
Designing Analytics-Ready Data Models: Star Schema Lessons from Financial Data

Designing Analytics-Ready Data Models: Star Schema Lessons from Financial Data

Comments
2 min read
Track RemoteOK jobs in SQL without counting timestamps as salary edits

Track RemoteOK jobs in SQL without counting timestamps as salary edits

Comments
8 min read
MapReduce, Hive and Spark SQL on the same 7 jobs: Spark won by 1.5x, but 58% of its time was start-up

MapReduce, Hive and Spark SQL on the same 7 jobs: Spark won by 1.5x, but 58% of its time was start-up

Comments
3 min read
schemagate: 91% fewer schema tokens for text-to-SQL, and only the tables the caller may read

schemagate: 91% fewer schema tokens for text-to-SQL, and only the tables the caller may read

Comments
1 min read
Dynamic SQL Done Safely: sp_executesql, Parameters and QUOTENAME

Dynamic SQL Done Safely: sp_executesql, Parameters and QUOTENAME

Comments
3 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.