Código SQL:
Ver originalSELECT TA.Nutr_Val, NUT_DATA.Num_Data_pts FROM NUT_DATA INNER JOIN NUTR_DEF ON NUT_DATA.Nutr_No = NUTR_DEF.Nutr_No WHERE NDB_No = " & Codigo & " AND NUTR_DEF.SR_Order IN(300, 800, 600)
ORDER BY CASE
WHEN 300 THEN 1
WHEN 800 THEN 2
WHEN 600 THEN 3
END