Combining multiple queries in one in Access
        Posted  
        
            by 
                Arlen Beiler
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Arlen Beiler
        
        
        
        Published on 2013-07-03T17:02:16Z
        Indexed on 
            2013/07/03
            17:05 UTC
        
        
        Read the original article
        Hit count: 298
        
ms-access-2003
I have two queries that I want to combine into one in Microsoft Access 2003.
SELECT AttendanceQuery.AttendDate, Count(*) AS Absent
FROM AttendanceQuery
WHERE (((AttendanceQuery.Present)=False))
GROUP BY AttendanceQuery.AttendDate;
SELECT AttendanceQuery.AttendDate, Count(*) AS Enrollment
FROM AttendanceQuery
GROUP BY AttendanceQuery.AttendDate;
The one shows the total records for each date, the other shows the ones that are marked absent.
© Stack Overflow or respective owner