Thread: Set binary column dependent on cumulative value of integer column

Set binary column dependent on cumulative value of integer column

From
"Markus Juenemann"
Date:
Hi

I've got a bit of a tricky (or me!) problem. The example below is
completely ficticious but
describes my real problem in a way which might be easier to understand.

Imagine your table contains

CREATE TABLE passenger_queue (
id serial NOT NULL,   name character varying(40) NOT NULL,