Hi -
I have a query: the first one shows the number of emails received for each date
The second one shows the number of emails received for each that processed transaction in it, basically tbl_transaction_processed and tbl_received_email is related to each other with the EmailID
Im hoping to get both data on one query if possible.
Thank you Hudas
I have a query: the first one shows the number of emails received for each date
Code:
SELECT tbl_rEceived_eMail.ReceivedDate, Count(tbl_rEceived_eMail.EmailID) AS EmailCount
FROM tbl_rEceived_eMail
GROUP BY tbl_rEceived_eMail.ReceivedDate;
The second one shows the number of emails received for each that processed transaction in it, basically tbl_transaction_processed and tbl_received_email is related to each other with the EmailID
Code:
SELECT tbl_rEceived_eMail.ReceivedDate, Count(tbl_tRansaction_pRocessed.EmailID) AS EmailCount
FROM tbl_rEceived_eMail INNER JOIN tbl_tRansaction_pRocessed ON tbl_rEceived_eMail.EmailID = tbl_tRansaction_pRocessed.EmailID
GROUP BY tbl_rEceived_eMail.ReceivedDate;
Im hoping to get both data on one query if possible.
Thank you Hudas