Hi again,
I need help on something else. I have a table with orders (100,000 records) and a table with customers (30,000 records). Consequently, a customer may have made multiple orders. Both tables have a unique id that link them together.
My problem is that if I join them with a simple query, I will get 100,000 records. How I can keep the 30,000 records and maintain some records from the order table (for example, I need those with the most recent order)?
Thanks
I need help on something else. I have a table with orders (100,000 records) and a table with customers (30,000 records). Consequently, a customer may have made multiple orders. Both tables have a unique id that link them together.
My problem is that if I join them with a simple query, I will get 100,000 records. How I can keep the 30,000 records and maintain some records from the order table (for example, I need those with the most recent order)?
Thanks