What is the ratio between students majored in finance and physics?
DIVDE(SUM(major_name = 'Finance'), SUM(major_name = 'Physics'))
SELECT SUM(CASE WHEN major_name = 'Finance' THEN 1 ELSE 0 END) / SUM(CASE WHEN major_name = 'Physics' THEN 1 ELSE 0 END) AS ratio FROM major