I have a SALES table with many sales informations. And I have an SALES_ITEM table that has the sales items, they are linked by the SALES_ID field.
The problem is that in the SALES table I have all the sales from company A and at the SALES_ITEM I have rows from many companys sales.
How may I use SALES_ITEM table values, just from orders that exist in the SALES table?
Have you solved your problem?
If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please share some data sample and your desired output so that we could help further on it.