I have a file from a bank which I load into tblBank. fields are
date
amt
desc
I have a table tblVendor that has fields
Vendor
Category
I need to link the tblbank.desc to the tblvendor.vendor to bring in the vendor and category
but of course the desc in the tblbank is something like this
1/12/2020 mcdonalds Lawrenceville, ga
1/5/2020 LA Fitness monthly fee California
etc.
so I need to basically do a "like" command and if the desc has a match to a vendor bring in the vendor and category.
I cannot figure out how to do this in my query.
date
amt
desc
I have a table tblVendor that has fields
Vendor
Category
I need to link the tblbank.desc to the tblvendor.vendor to bring in the vendor and category
but of course the desc in the tblbank is something like this
1/12/2020 mcdonalds Lawrenceville, ga
1/5/2020 LA Fitness monthly fee California
etc.
so I need to basically do a "like" command and if the desc has a match to a vendor bring in the vendor and category.
I cannot figure out how to do this in my query.