SELECT 
	alltable.DEST_REQ as Lane,
	SUM(alltable.ACTUAL_DEST <> 'S0199') AS Diverted,
	SUM(alltable.DivertStatus = 5) AS Full
FROM alltable
Where (alltable.DEST_REQ <> 'S0199' and alltable.t_stamp BETWEEN :starttime AND :endtime)
GROUP BY alltable.DEST_REQ
Union
Select
	'S0199' as Lane,
	COUNT(*) AS Diverted,
	0 as Full
From alltable
Where (alltable.ACTUAL_DEST = 'S0199' and alltable.t_stamp BETWEEN :starttime AND :endtime)