prabha_friend
Prabhakaran Karuppaih
- Local time
- Tomorrow, 00:07
- Joined
- Mar 22, 2009
- Messages
- 1,008
For Queries like this:
SELECT Sum(Errors.Error_Count) AS Errors
FROM Countries INNER JOIN (Error_Types INNER JOIN ((Processes INNER JOIN Countries_Processes ON Processes.Process_ID = Countries_Processes.Process) INNER JOIN Errors ON Countries_Processes.Country_Process_ID = Errors.Error_Country_Process) ON Error_Types.Error_Type_Id = Errors.Error_Type) ON Countries.Country_ID = Countries_Processes.Country
GROUP BY Errors.Error_Date, Error_Types.Error_Type_Name, Countries.Country_Code, Processes.Process_Name
HAVING (((Errors.Error_Date)=#8/1/2014#) AND ((Error_Types.Error_Type_Name)="Internal") AND ((Countries.Country_Code)='AU') AND ((Processes.Process_Name)='Agents'));
SELECT Sum(Errors.Error_Count) AS Errors
FROM Countries INNER JOIN (Error_Types INNER JOIN ((Processes INNER JOIN Countries_Processes ON Processes.Process_ID = Countries_Processes.Process) INNER JOIN Errors ON Countries_Processes.Country_Process_ID = Errors.Error_Country_Process) ON Error_Types.Error_Type_Id = Errors.Error_Type) ON Countries.Country_ID = Countries_Processes.Country
GROUP BY Errors.Error_Date, Error_Types.Error_Type_Name, Countries.Country_Code, Processes.Process_Name
HAVING (((Errors.Error_Date)=#8/1/2014#) AND ((Error_Types.Error_Type_Name)="Internal") AND ((Countries.Country_Code)='AU') AND ((Processes.Process_Name)='Agents'));