Qrylifecyclemodels
SELECT QryDateDifModels.[MODEL RANGE], QryDateDifModels.Expr1 AS [Life Cycle], Count(QryDateDifModels.Expr1) AS [Total vehicles]
FROM QryDateDifModels
GROUP BY QryDateDifModels.[MODEL RANGE], QryDateDifModels.Expr1;
SELECT QryLifeCycleModels.[Life Cycle] AS [Life Cycle], QryLifeCycleModels.[Total vehicles] AS [Maximum Total Vehicles], QryLifeCycleModels.[model range]
FROM QryLifeCycleModels
WHERE (((QryLifeCycleModels.[Total vehicles])=(select max([Total vehicles]) from QryLifeCycleModels)));
|