1. I have 2 tables that named [SHIPPING] and [TRANSACTION]. In the shipping table, there are transactionID and DateShipped fields; in the transaction table, there are transactionID, TransactionDate and Location fields. I want to create a query that counts all online orders(shows in the Location field) that took more than three days to ship. Named that TotalDelayed. How can I do this?
2. I also want to create a field that counts all online orders. Named that TotalShipped.
The reason I create these two queries is to calculate the percentage of TotalDelayed/TotalShipped. But I have tried tons of methods and only shows me the numerator is always larger than the denominator. I dont know what is wrong.
Thank you!
2. I also want to create a field that counts all online orders. Named that TotalShipped.
The reason I create these two queries is to calculate the percentage of TotalDelayed/TotalShipped. But I have tried tons of methods and only shows me the numerator is always larger than the denominator. I dont know what is wrong.
Thank you!