Skip to main content
Answer

Union Customer Details and Vendor Details at one table

  • October 9, 2025
  • 1 reply
  • 20 views

Forum|alt.badge.img+1

I need to union Customer Details and Vendor Details at one table(by business account). How i can do this?

 

 

Best answer by Django

You can start with the BAccount table as it contains customers and vendors (and employees and companies). Then you can left join to the Customer and Vendor tables.

Edit: You might also look at a projection (very similar to using a database view) to pull all of this data together for easier reporting.

1 reply

Forum|alt.badge.img+7
  • Captain II
  • Answer
  • October 9, 2025

You can start with the BAccount table as it contains customers and vendors (and employees and companies). Then you can left join to the Customer and Vendor tables.

Edit: You might also look at a projection (very similar to using a database view) to pull all of this data together for easier reporting.