Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2878

Re: SELECT NTH_VALUE (COL1, 2 ORDER BY COL2) FROM T;

$
0
0

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;


Viewing all articles
Browse latest Browse all 2878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>