Just simply create a relationship between Product_Category and Product by using Relationships feature. After that, you can use the code below:
my $results = $DB->table('Product_Category', 'Product')->select({ category_code => 'TA' }, ['Product_Category.product_code', 'product_name'])->fetchall_hashref;
Hope that helps,
TheStone.
B.
my $results = $DB->table('Product_Category', 'Product')->select({ category_code => 'TA' }, ['Product_Category.product_code', 'product_name'])->fetchall_hashref;
Hope that helps,
TheStone.
B.