yeah i got converting them into float
SELECT
UserId,
MAX(CASE WHEN test = 'Height' THEN convert(float,testValue) END )/
MAX(CASE WHEN test = 'Waist Circumference' THEN convert(float,testValue) END ) AS HeightToWaist
FROM
excz_measurements where testid in (5,9) and userid = 162430
GROUP BY
UserId;
now how to divide both by 100 to get ratio
P.V.P.MOhan