Need help with RATIO and ROUND
From: Marc A. Lefebvre US-775 <lefebvre_at_iwavesolutions.com>
Date: 24 Jun 2003 13:36:39 -0700
Message-ID: <5ef1a86c.0306241236.5b7e416a_at_posting.google.com>
Date: 24 Jun 2003 13:36:39 -0700
Message-ID: <5ef1a86c.0306241236.5b7e416a_at_posting.google.com>
I have a table that I need to extract values, determine their ratio,
and then round to the nearest 50.
SELECT NAME, MFG, ROUND((WEIGHT/VOLUME),50) AS WV_RATIO, COUNT(*) OVER
(ORDER BY NAME, MFG, WV_RATIO) AS NUMBER_OF_MATCHES FROM MEMBERS;
Thanks!!
Marc Received on Tue Jun 24 2003 - 22:36:39 CEST