Hi all
I'm trying to join below three tables on matching on different fields.
For example below...
Is there a easier way of joining the three tables to get the sum price per basket (in table 1)? I was using 'Join' but I didn't like the idea of using multiple joins..
| Table 1 | | | | Table 2 | | | Table 3 | | |
| Grocery List | Purchase date | Fruit Name | Vegitable Name | Fruit Name | Price | Price Effective Date | Vegitable Name | Price | Price Effective Date |
| Basket A | 5/03/2000 | Banna | Carrot | Apple | 3 | 1/01/2000 | Carrot | 3 | 1/01/2000 |
| Basket B | 5/05/2001 | Apple | | Apple | 3 | 5/10/2001 | Carrot | 3 | 5/10/2001 |
| Basket C | 3/05/2002 | | Carrot | Apple | 3 | 4/05/2002 | Carrot | 3 | 4/05/2002 |
| | | | | Banna | 4 | 1/01/2000 | | | |
| | | | | Banna | 4 | 5/10/2001 | | | |
| | | | | Banna | 4 | 4/05/2002 | | | |
| | | | | | | | | | |
Thanks in advance