Wednesday, July 24, 2024

Query to get boundary values - DB2

 


SELECT '["' || Max(LONGDESCRIPTIONID) || '"],' /*, COUNT(*)*/

FROM ( SELECT LONGDESCRIPTIONID, NTILE(30) OVER (ORDER BY LONGDESCRIPTIONID) AS nt FROM MAXIMO.LONGDESCRIPTION ) AS subquery

GROUP BY nt

ORDER BY nt;


1 comment:

Everyone | To Get The Job | Database | All

  https://whatsapp.com/channel/0029Vb7B0Ew9MF98L2ER273b This Group help to Everyone , who are looking for the job  Also share with me if any...