I need help dividing the results of two independent queries, I am stuck. The resulting table should be two columns (Expuslions & Suspensions) displaying the division result i.e.,(Rate). E.g., expulsions/Total
first query
SELECT
SUM(CASE WHEN Discipline = 'E' THEN TOTAL END) AS Expulsions ,
SUM(CASE WHEN Discipline IN ('I', 'O') THEN TOTAL END) AS Suspensions
FROM SUSPEXPD
WHERE CDS = @CDS
Second Query
SELECT
SUM(ENR_TOTAL) AS Total
FROM [StateData].[dbo].[enr13]
WHERE CDS_Code LIKE Cast(@CDS as varchar(7)) + '%
Thanks
Cartesian Yak