Complicated querie (for me anyway)
Hi folks,
I have been asked to run a querie on a huge chunk of information in order to get statistics and performance on our Sales executives.
I will try and describe and simplify what I am trying to do.
We employ sales people in various airports around the contry to try to get people to sign up for a credit card. If the customer is interested the sales exec will fill out an application form and then send it in to our data centre here where it is checked and then sent on to the bank.
Every month the bank send back a listed of the applications that were successful or were declined. This is in the form of a spreadsheet that is impoted to a table in the database
I will try and keep this as simple as poss.
I have one table called tblAppsTaken and another called tblBankReport. Here are examples of what they contain.
You may have already guessed what I what I want to do next.
I need to run a report to see how many apps for John Daly were rejected or accepted and the same for all sales execs. This means we will be able to monitor performance of the employees each month.
Does anyone have any conceptual idea as to how I would glue these two tables together and start running queries?.
Hi folks,
I have been asked to run a querie on a huge chunk of information in order to get statistics and performance on our Sales executives.
I will try and describe and simplify what I am trying to do.
We employ sales people in various airports around the contry to try to get people to sign up for a credit card. If the customer is interested the sales exec will fill out an application form and then send it in to our data centre here where it is checked and then sent on to the bank.
Every month the bank send back a listed of the applications that were successful or were declined. This is in the form of a spreadsheet that is impoted to a table in the database
I will try and keep this as simple as poss.
I have one table called tblAppsTaken and another called tblBankReport. Here are examples of what they contain.
tblAppsTaken contents:
SalesExec | UniqueAppNumber
=======================
John Daly | 1045001
Mark Holeman | 1045002
Sarah Good | 1045003
John Daly | 1045004
John Daly | 1045005
tblBankReport
UniqueAppNumber | Status
=======================
1045001 | Rejected
1045002 | Accepted
1045003 | Rejected
1045004 | Accepted
1045005 | Accepted
You may have already guessed what I what I want to do next.
I need to run a report to see how many apps for John Daly were rejected or accepted and the same for all sales execs. This means we will be able to monitor performance of the employees each month.
Does anyone have any conceptual idea as to how I would glue these two tables together and start running queries?.