Ich habe die folgende Tabelle mit ungefähr 175.000 Datensätzen: Column | Type | Modifiers ----------------+-----------------------------+------------------------------------- id | uuid | not null default uuid_generate_v4() competition_id | uuid | not null user_id | uuid | not null first_name | character varying(255) | not null last_name | character varying(255) | not null image …
Ich habe folgende Tabelle: CREATE TABLE trans ( id SERIAL PRIMARY KEY, trans_date date, trans_time time ); Ich möchte die folgende Ansicht haben CREATE OR REPLACE VIEW daily_trans AS SELECT trans_date, max(trans_time) as first, min(trans_time) as last, calculate_status(min(trans_time), max(trans_time)) as status GROUP BY trans_date mit Spalten, die die IDs der …
We use cookies and other tracking technologies to improve your browsing experience on our website,
to show you personalized content and targeted ads, to analyze our website traffic,
and to understand where our visitors are coming from.
By continuing, you consent to our use of cookies and other tracking technologies and
affirm you're at least 16 years old or have consent from a parent or guardian.