An Overview of PostgreSQL Window Functions
This article looks at Window functions and how they can be used to solve problems in a different way from standard aggregate functions.
2023-02-24
4,368 reads
This article looks at Window functions and how they can be used to solve problems in a different way from standard aggregate functions.
2023-02-24
4,368 reads
2020-07-06
735 reads
When the database design is not great, you may have to write some creative queries to get what you need.
2020-02-17
3,424 reads
As SQL developers, we tend to think of performance tuning in terms of crafting the best table indices, avoiding scalar and table valued functions, and analyzing query plans (among other things). But sometimes going back to the spec and applying some properties of elementary math can be the best way to begin to improve performance of SQL queries which implement mathematical formulas. This article is a case study of how I used this technique to optimize my SQL implementation of the Inverse Simpson Index.
2021-05-07 (first published: 2019-09-12)
5,308 reads
2017-12-14
1,194 reads
2016-09-29
1,382 reads
2015-02-18
2,516 reads
2015-01-07
2,321 reads
This script will allow you to get maximum date associated with tables that contain a certain column.
2013-03-18 (first published: 2013-02-22)
1,133 reads
2012-11-05
1,791 reads
By Steve Jones
My slides are here: VCS Primer Denver 2023 This was an overview of what...
By Steve Jones
The Future Data Driven 2023 virtual conference is coming on Wednesday, September 27. Register...
By Steve Jones
A few years ago SQL Prompt added a command palette to let you search...
Hi All, Hi All, I want to convert columns result into rows with comma....
Does multi subnet failover with standard edition of sqlserver supports DB Mirror or AG...
Any one did Table partitioning in Prod, please list steps here. we have a...