* and if you don’t like the weather, go out and make some of your own! (apologies to Scoop Nisker) Get a little help for your queries WITH data sources that can be predefined and precalculated as well as clarify where your data is coming from and how. PostgreSQL 12 has added a feature […]
Elein is a PostgreSQL enthusiast and contributes regularly to 2ndQuadrant blog.
Postgresql String Functions and Operators. This blog today is going to talk about strings: how they are stored, how they are input, and lots of examples of how to use string operators and functions in order to manipulate them. Strings, strings, strings. What we are not going to cover is regular expressions, although we […]
The problem: duplicate rows Once upon a time, there was a database person who knows about referential integrity and its importance for creating database tables. The interesting part is that referential integrity, including primary keys, enable keeping with the standard of not having duplicate rows. However, they just wanted a private little table on their […]
Some people go to great lengths to avoid GROUP BY and HAVING clauses in their queries. The error messages are fussy but they are usually right. GROUP BY and HAVING key words are essential for good SQL reporting. The primary reason for GROUP BY is to reduce the number of rows, usually by aggregation. It […]