Works like a charme!!! Very, very helpful.
Maybe somebody needs it. Here a sample:
SELECT
NTH_VALUE("LaborID", 1 ORDER BY "Datum" desc) AS "LaborID"
FROM "PUBLIC"."development.projects.data::XXX.cds.Labor"
WHERE "PatientID" = 163596;
Works like a charme!!! Very, very helpful.
Maybe somebody needs it. Here a sample:
SELECT
NTH_VALUE("LaborID", 1 ORDER BY "Datum" desc) AS "LaborID"
FROM "PUBLIC"."development.projects.data::XXX.cds.Labor"
WHERE "PatientID" = 163596;