Zero, below the detection limit and nobody ran the test are three different results, and the column holds nought for all three.
A column that cannot tell nothing from nought will eventually be read as nought.
The database holds an absent result separately from a result of nought, so an average covers what was actually measured rather than whatever ended up in the column.
A result under the detection limit is a finding with a threshold attached. Stored as a blank or as nought it cannot be recovered afterwards, and it was the most defensible thing you had.
Sample lost, test not requested, instrument failed, result still coming. Four situations that look identical in an empty column and mean entirely different things to whoever reads the report.
Where a value is genuinely required the database refuses the row, rather than taking a blank that somebody completes next week from memory.
An average over twelve results and an average over the nine that exist are different numbers. The report says which one it is instead of leaving the reader to assume the generous answer.
A result that has not arrived is held as awaited, so nothing has to work out the difference between late and never from a date in another column.
Both situations are routine for us. Tell us which one applies and we will shape the first call around it.
The process runs in five steps, in the same order on every project. You can stop after any of them.
You outline the project and what you expect from it, we ask a few questions to understand the requirement, and we tell you whether PostgreSQL is the right tool for the job. If it is not, you hear that on the same call.
We go through the detail together. What the application has to do, who logs into it, what already exists, where the data lives, and what has to keep working while we build.
You receive a document that states what will be built, in what order, on what timeline, and at what cost. You read it before anyone signs anything.
The agreed scope becomes a signed contract. The confidentiality and intellectual property terms are set out in the same document, rather than in a separate one or at a later stage.
Development starts and we deliver working software at regular intervals. A preview environment goes up within the first week, so you can follow progress in the product itself.
You do not need the technical side to judge this. Here is what changes on the business side.
Counting absent results as nought drags every mean downwards. Nobody catches it, because the figure stays plausible and the error does not look like one.
Once the reason for a missing value is recorded, the ones worth chasing are a short list instead of a review of everything.
Below the limit, reported as below the limit with the limit stated, is defensible. Reported as nought it is simply wrong, and the correction is a difficult letter.
A pending state can be listed and aged. An empty column cannot, and the test nobody chased tends to surface at the end of a study.
Hosting in a region you choose, billed to you, keys in your hands. Leaving us moves nothing.
Plain PostgreSQL documented as the work happens, so another firm could take it on without a long handover.
Ask what a nought in that column means, and expect more than one answer.
Ask how a test that was not run gets recorded. If that looks the same as a result of nought, every statistic over the column is already off in one direction.
Ask to see a result under the detection limit. If it reads as a number with no threshold beside it, the finding has been turned into something it was not.
Ask which gaps are deliberate and which are oversights. With no recorded reason nobody can separate them, so either all get chased or none do.
Ask whether a reported mean covers every sample or only those with results. Both are legitimate figures and they are not the same figure.
Ask what lands in the column when the instrument has nothing to report. Vendor exports write nought surprisingly often, and whatever receives it has to know the difference.
The same engineer, who by then knows which figures you are asked for and where in the data each one comes from.
These are the languages and frameworks we build in.

Production-grade React applications with SSR

Elegant PHP framework for web artisans

Building interactive and responsive user interfaces

Relational database design, migration and tuning

Document database modelling and aggregation pipelines

Custom applications and legacy system modernisation

Server-side JavaScript for scalable applications

Backend development and data processing solutions

Progressive JavaScript framework for modern web UIs

Type-safe JavaScript for enterprise applications

Modern web development with React, Next.js, and Node.js

Modern utility-first CSS framework
A Basel laboratory produces results that will be read by people who were not there. Some of those results are zero. Some are below the limit the instrument can detect, which is a different finding and often a more useful one. Some do not exist, because the sample was lost, the test was not requested, the instrument failed, or the result has not come back yet. In a great many systems all of those arrive in the same column as the same thing, and after that no reader can tell them apart.
The usual cause is undramatic. The field would not accept a blank, so somebody typed nought, and that became the habit. From then on every mean computed over that column is pulled towards zero by however many absent results it contains. The figure stays entirely plausible, which is what makes this worth the attention. A fault that produces an implausible number gets found in a week. One that produces a believable number slightly in the wrong direction can run for years.
The sharper loss is below the detection limit. That is a real measurement with a threshold attached, and it is frequently the most defensible thing a laboratory can report. Written as nought it becomes a claim nobody can support, and written as a blank it disappears. Neither can be reconstructed afterwards, because the information that would allow it was never stored.
What works is giving the database the ability to say it does not know, and keeping that separate from zero in every calculation. Below the limit is held as what it is, with the limit. The reason a value is absent is a recorded choice from a short list drawn from what actually happens, rather than a sentence or an inference from a date. Reports state what they were computed over. On the first call we ask what a nought in your main result column means.
What else is worth settling before work starts in this market is on our page for software development in Basel.
What PostgreSQL is in plain terms, and where we use it generally, is on PostgreSQL development services.
The same market, read from the other side: Next.js development in Basel, Laravel development in Basel, React development in Basel.
We reply the same working day