Existing store procedure untuk get graph, body, data table

This commit is contained in:
2024-07-30 09:43:23 +07:00
parent 4e0753f167
commit 702d668d07
8 changed files with 231 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
begin
SELECT
CASE
WHEN AntropometriType = 'MIN' THEN 'Nilai Minimal'
WHEN AntropometriType = 'MAX' THEN 'Nilai Maksimal'
WHEN AntropometriType = 'AVG' THEN 'Rata - rata'
WHEN AntropometriType = 'MED' THEN 'Median'
ELSE AntropometriType
END AS AntropometriType ,
AntropometriTB,
AntropometriBB,
AntropometriLP,
AntropometriBMI,
AntropometriMgm_McuID
FROM one_etl.antropometri
WHERE AntropometriMgm_McuID = PID;
end