G
Guest
I have two tables
Table A has two columns. The first column which is the primary key contains
a three letter abbreviation for a type of contact, the second column is a
definition of the abbreviation.
Table B has 7 columns. They consist of
customer_ID 1stcontact 2ndcontact 3rdcontact ordered paid
returned
The values listed in the 1stcontact, 2ndcontact and 3rdcontact columns are
the three letter abbreviations from Table A.
I want to run a query that lists all the values of column one of Table A and
counts how many resulted in a order, how many paid, and how many returned
from Table B. It does not matter whether the value was the 1st contact, 2nd
contact, or 3rd contact.
Table A has two columns. The first column which is the primary key contains
a three letter abbreviation for a type of contact, the second column is a
definition of the abbreviation.
Table B has 7 columns. They consist of
customer_ID 1stcontact 2ndcontact 3rdcontact ordered paid
returned
The values listed in the 1stcontact, 2ndcontact and 3rdcontact columns are
the three letter abbreviations from Table A.
I want to run a query that lists all the values of column one of Table A and
counts how many resulted in a order, how many paid, and how many returned
from Table B. It does not matter whether the value was the 1st contact, 2nd
contact, or 3rd contact.